Skip to content
This repository
Browse code

We dont need to merge in the parameters as thats all being reset by t…

…he rack headers (and its causing problems for Strong Parameters attempt of wrapping request.parameters because it will change in testing)
  • Loading branch information...
commit 275ee0dc7b836fb10aa8af1c0339e81539c1dec1 1 parent 358333f
David Heinemeier Hansson authored March 20, 2012
1  actionpack/lib/action_controller/test_case.rb
@@ -457,7 +457,6 @@ def process(action, parameters = nil, session = nil, flash = nil, http_method =
457 457
         @request.session["flash"].sweep
458 458
 
459 459
         @controller.request = @request
460  
-        @controller.params.merge!(parameters)
461 460
         build_request_uri(action, parameters)
462 461
         @controller.class.class_eval { include Testing }
463 462
         @controller.recycle!

0 notes on commit 275ee0d

Please sign in to comment.
Something went wrong with that request. Please try again.