summaryrefslogtreecommitdiff
path: root/spec/support/helpers/multipart_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/multipart_helpers.rb')
-rw-r--r--spec/support/helpers/multipart_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers/multipart_helpers.rb b/spec/support/helpers/multipart_helpers.rb
index 2e8db0e9e42..bcb184f84c5 100644
--- a/spec/support/helpers/multipart_helpers.rb
+++ b/spec/support/helpers/multipart_helpers.rb
@@ -37,7 +37,7 @@ module MultipartHelpers
# *without* the "#{key}." prefix
result.deep_transform_keys! { |k| k.remove("#{key}.") }
{
- "#{key}.gitlab-workhorse-upload" => jwt_token('upload' => result)
+ "#{key}.gitlab-workhorse-upload" => jwt_token(data: { 'upload' => result })
}
end