Remove default_scope
from MediaAttachment
class (#28043)
This commit is contained in:
parent
02a98210e8
commit
bb0efe16e6
11 changed files with 15 additions and 16 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue