diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-02-10 22:00:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 22:00:10 +0100 |
commit | 472bc89611cb3ce0594cd7b42b730c3484899c33 (patch) | |
tree | 6444a5f668d62cd04b68f30c0a0ce8dd52e83965 /spec/services | |
parent | 2af03164cbf0c3e86b551d9be338780c204ef9fa (diff) |
Fix some flaky tests that randomly failed because of item ordering (#17509)
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/update_status_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/update_status_service_spec.rb b/spec/services/update_status_service_spec.rb index fe1b60d24..4fd4837c6 100644 --- a/spec/services/update_status_service_spec.rb +++ b/spec/services/update_status_service_spec.rb @@ -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 |