diff --git a/spec/models/account_spec.rb b/spec/models/account_spec.rb index b4fcb805a6..1a4c14c45c 100644 --- a/spec/models/account_spec.rb +++ b/spec/models/account_spec.rb @@ -339,9 +339,11 @@ RSpec.describe Account do results = account.excluded_from_timeline_account_ids expect(results.size).to eq 3 - expect(results).to include(block.target_account.id) - expect(results).to include(mute.target_account.id) - expect(results).to include(block_by.account.id) + expect(results).to include( + block.target_account.id, + mute.target_account.id, + block_by.account.id + ) end end