From 0edcca3435c92f71949ae95024aede8484a04d06 Mon Sep 17 00:00:00 2001 From: Sojan Date: Wed, 21 May 2025 20:36:09 -0700 Subject: [PATCH] chore: rubocop fixes --- spec/models/account_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/account_spec.rb b/spec/models/account_spec.rb index 51ab792cf..1a85010a7 100644 --- a/spec/models/account_spec.rb +++ b/spec/models/account_spec.rb @@ -138,13 +138,13 @@ RSpec.describe Account do context 'when auto_resolve_after' do it 'validates minimum value' do account.settings = { auto_resolve_after: 4 } - expect(account).to be_invalid + expect(account).not_to be_valid expect(account.errors.messages).to eq({ auto_resolve_after: ['must be greater than or equal to 10'] }) end it 'validates maximum value' do account.settings = { auto_resolve_after: 1_439_857 } - expect(account).to be_invalid + expect(account).not_to be_valid expect(account.errors.messages).to eq({ auto_resolve_after: ['must be less than or equal to 1439856'] }) end