Fix some flaky tests that randomly failed because of item ordering (#17509)
This commit is contained in:
parent
2af03164cb
commit
472bc89611
5 changed files with 20 additions and 20 deletions
|
@ -114,7 +114,7 @@ RSpec.describe UpdateStatusService, type: :service do
|
|||
end
|
||||
|
||||
it 'keeps old mentions as silent mentions' do
|
||||
expect(status.mentions.pluck(:account_id)).to eq [alice.id, bob.id]
|
||||
expect(status.mentions.pluck(:account_id)).to match_array([alice.id, bob.id])
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue