diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-11-27 18:06:01 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-11-27 18:06:01 +0100 |
commit | 143fc87cbfee7eb281937be1b404ad18e09dc301 (patch) | |
tree | 639a532cfae8b07362c1e75ff2ea27528322d2cc | |
parent | 747ddd34abf34c32b04fd4ef83ed6754f4455b55 (diff) | |
download | rails-143fc87cbfee7eb281937be1b404ad18e09dc301.tar.gz rails-143fc87cbfee7eb281937be1b404ad18e09dc301.tar.bz2 rails-143fc87cbfee7eb281937be1b404ad18e09dc301.zip |
Remove default argument value.
Wrongly added when fixing the request path wrangling.
-rw-r--r-- | actionpack/lib/action_dispatch/testing/request_encoder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |