Fix RSpec/PredicateMatcher cop (#25102)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user