Reference value constants from specs (#33479)
This commit is contained in:
@@ -29,7 +29,7 @@ RSpec.describe 'Accounts Notes API' do
|
||||
end
|
||||
|
||||
context 'when account note exceeds allowed length', :aggregate_failures do
|
||||
let(:comment) { 'a' * 2_001 }
|
||||
let(:comment) { 'a' * AccountNote::COMMENT_SIZE_LIMIT * 2 }
|
||||
|
||||
it 'does not create account note' do
|
||||
subject
|
||||
|
||||
Reference in New Issue
Block a user