mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-09 09:12:19 +00:00
Combine results include check in spec/models/account (#28471)
This commit is contained in:
parent
185c806d69
commit
8b26614fa7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue