diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-23 06:08:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-23 06:08:49 +0300 |
commit | 98ce6418920b510e0e819e686e83a22bf6d5cd20 (patch) | |
tree | d950bf3a1c236e92e9cd335111d1b8b7756203e0 /spec/features/file_uploads | |
parent | 0a8d7059a2db069c1193009c56ff3af1aa0791b5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/file_uploads')
-rw-r--r-- | spec/features/file_uploads/multipart_invalid_uploads_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/file_uploads/multipart_invalid_uploads_spec.rb b/spec/features/file_uploads/multipart_invalid_uploads_spec.rb index 919dea1370f..91c8e100e6a 100644 --- a/spec/features/file_uploads/multipart_invalid_uploads_spec.rb +++ b/spec/features/file_uploads/multipart_invalid_uploads_spec.rb @@ -44,7 +44,7 @@ RSpec.describe 'Invalid uploads that must be rejected', :api, :js do # These keys are rejected directly by rack itself. # The request will not be received by multipart.rb (can't use the 'handling file uploads' shared example) - it_behaves_like 'rejecting invalid keys', key_name: 'x' * 11000 + it_behaves_like 'rejecting invalid keys', key_name: 'x' * 11000, message: 'Puma caught this error: exceeded available parameter key space (RangeError)' it_behaves_like 'rejecting invalid keys', key_name: 'package[]test', status: 400, message: 'Bad Request' it_behaves_like 'handling file uploads', 'by rejecting uploads with an invalid key' |