Combine results include check in spec/models/account (#28471)

This commit is contained in:
Matt Jankowski 2024-01-11 11:17:45 -05:00 committed by GitHub
parent 185c806d69
commit 8b26614fa7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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