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

th-downstream
Matt Jankowski 10 months ago committed by GitHub
parent 185c806d69
commit 8b26614fa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save