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 043cb6e1420..2e8db0e9e42 100644
--- a/spec/support/helpers/multipart_helpers.rb
+++ b/spec/support/helpers/multipart_helpers.rb
@@ -31,7 +31,7 @@ module MultipartHelpers
raise ArgumentError, "can't handle #{mode} mode"
end
- return result if ::Feature.disabled?(:upload_middleware_jwt_params_handler)
+ return result if ::Feature.disabled?(:upload_middleware_jwt_params_handler, default_enabled: true)
# the HandlerForJWTParams expects a jwt token with the upload parameters
# *without* the "#{key}." prefix