forked from mirrors/catstodon
Combine results include check in spec/models/account (#28471)
This commit is contained in:
parent
185c806d69
commit
8b26614fa7
1 changed files with 5 additions and 3 deletions
|
@ -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