0
0
Fork 0

Fix RSpec/PredicateMatcher cop (#25102)

This commit is contained in:
Matt Jankowski 2023-05-23 10:49:11 -04:00 committed by GitHub
parent 778e4a7bf7
commit b896b16cb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 18 deletions

View file

@ -43,7 +43,7 @@ describe Api::V1::Accounts::NotesController do
it 'does not create account note' do
subject
expect(AccountNote.where(account_id: user.account.id, target_account_id: account.id).exists?).to be_falsey
expect(AccountNote.where(account_id: user.account.id, target_account_id: account.id)).to_not exist
end
end
end