From 143fc87cbfee7eb281937be1b404ad18e09dc301 Mon Sep 17 00:00:00 2001 From: Kasper Timm Hansen Date: Sun, 27 Nov 2016 18:06:01 +0100 Subject: Remove default argument value. Wrongly added when fixing the request path wrangling. --- actionpack/lib/action_dispatch/testing/request_encoder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3