From 8b26614fa7fce5db7c9e4402679df0c8a833dfcf Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 11 Jan 2024 11:17:45 -0500 Subject: [PATCH] Combine results include check in spec/models/account (#28471) --- spec/models/account_spec.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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