0
0
Fork 0

Clean up of RSpec/LetSetup within spec/models (#28444)

This commit is contained in:
Matt Jankowski 2023-12-21 04:18:38 -05:00 committed by GitHub
parent 87e2bd02ac
commit c753b1ad35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -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