Fix RSpec/PredicateMatcher cop (#25102)
This commit is contained in:
parent
778e4a7bf7
commit
b896b16cb3
4 changed files with 9 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue