diff --git a/actionpack/lib/action_dispatch/testing/request_encoder.rb b/actionpack/lib/action_dispatch/testing/request_encoder.rb index 734fc8cb54..8c27e9ecb7 100644 --- a/actionpack/lib/action_dispatch/testing/request_encoder.rb +++ b/actionpack/lib/action_dispatch/testing/request_encoder.rb @@ -11,7 +11,7 @@ module ActionDispatch attr_reader :response_parser - def initialize(mime_name, param_encoder, response_parser = nil) + def initialize(mime_name, param_encoder, response_parser) @mime = Mime[mime_name] unless @mime