Reference value constants from specs (#33479)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2025-01-06 23:25:13 +00:00
1 parent b0634b2943
commit efcd4ea5de
7 files changed
+19 -12

No files matched your search

+1 -1
View File
@@ -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