chore: rubocop fixes

This commit is contained in:
Sojan
2025-05-21 20:36:09 -07:00
parent e833b67caa
commit 0edcca3435
+2 -2
View File
@@ -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