Skip to content

Commit

Permalink
We dont need to merge in the parameters as thats all being reset by t…
Browse files Browse the repository at this point in the history
…he rack headers (and its causing problems for Strong Parameters attempt of wrapping request.parameters because it will change in testing)
  • Loading branch information
dhh committed Mar 20, 2012
1 parent 358333f commit 275ee0d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion actionpack/lib/action_controller/test_case.rb
Expand Up @@ -457,7 +457,6 @@ def process(action, parameters = nil, session = nil, flash = nil, http_method =
@request.session["flash"].sweep

@controller.request = @request
@controller.params.merge!(parameters)
build_request_uri(action, parameters)
@controller.class.class_eval { include Testing }
@controller.recycle!
Expand Down

0 comments on commit 275ee0d

Please sign in to comment.