Reference value constants from specs (#33479)
This commit is contained in:
parent
b0634b2943
commit
efcd4ea5de
7 changed files with 19 additions and 12 deletions
|
@ -33,7 +33,7 @@ RSpec.describe 'Media API', :attachment_processing do
|
|||
let(:params) do
|
||||
{
|
||||
file: fixture_file_upload('attachment-jpg.123456_abcd', 'image/jpeg'),
|
||||
description: 'aa' * MediaAttachment::MAX_DESCRIPTION_LENGTH,
|
||||
description: 'a' * MediaAttachment::MAX_DESCRIPTION_LENGTH * 2,
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue