Clean up of RSpec/LetSetup
within spec/models
(#28444)
This commit is contained in:
parent
87e2bd02ac
commit
c753b1ad35
4 changed files with 4 additions and 4 deletions
|
@ -954,6 +954,7 @@ RSpec.describe Account do
|
|||
|
||||
it 'returns every usable non-suspended account' do
|
||||
expect(described_class.searchable).to contain_exactly(silenced_local, silenced_remote, local_account, remote_account)
|
||||
expect(described_class.searchable).to_not include(suspended_local, suspended_remote, unconfirmed, unapproved)
|
||||
end
|
||||
|
||||
it 'does not mess with previously-applied scopes' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue