mirror of
https://github.com/mastodon/mastodon
synced 2024-11-23 22:56:20 +09: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 New Issue
Block a user