Reference value constants from specs (#33479)

This commit is contained in:
Matt Jankowski
2025-01-06 18:25:13 -05:00
committed by GitHub
parent b0634b2943
commit efcd4ea5de
7 changed files with 19 additions and 12 deletions

View File

@@ -85,7 +85,7 @@ RSpec.describe 'credentials API' do
end
describe 'with invalid data' do
let(:params) { { note: 'This is too long. ' * 30 } }
let(:params) { { note: 'a' * 2 * Account::NOTE_LENGTH_LIMIT } }
it 'returns http unprocessable entity' do
subject