0
0
Fork 0

Remove default_scope from MediaAttachment class (#28043)

This commit is contained in:
Matt Jankowski 2023-11-30 08:30:35 -05:00 committed by GitHub
parent 02a98210e8
commit bb0efe16e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 15 additions and 16 deletions

View file

@ -384,7 +384,7 @@ RSpec.describe ActivityPub::ProcessStatusUpdateService, type: :service do
end
it 'updates the existing media attachment in-place' do
media_attachment = status.media_attachments.reload.first
media_attachment = status.media_attachments.ordered.reload.first
expect(media_attachment).to_not be_nil
expect(media_attachment.remote_url).to eq 'https://example.com/foo.png'