Skip to content

Commit

Permalink
Remove default argument value.
Browse files Browse the repository at this point in the history
Wrongly added when fixing the request path wrangling.
  • Loading branch information
kaspth committed Nov 27, 2016
1 parent 747ddd3 commit 143fc87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_dispatch/testing/request_encoder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def response_parser; -> body { body }; end

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
Expand Down

0 comments on commit 143fc87

Please sign in to comment.