0
0
Fork 0

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 19 additions and 12 deletions

View file

@ -824,8 +824,7 @@ RSpec.describe Account do
it { is_expected.to_not allow_values(account_note_over_limit).for(:note) }
it { is_expected.to allow_value(fields_empty_name_value).for(:fields) }
it { is_expected.to_not allow_value(fields_over_limit).for(:fields) }
it { is_expected.to_not allow_value(fields_empty_name).for(:fields) }
it { is_expected.to_not allow_values(fields_over_limit, fields_empty_name).for(:fields) }
end
context 'when account is remote' do