diff --git a/actionpack/lib/action_controller/test_process.rb b/actionpack/lib/action_controller/test_process.rb index 0afe3f82fc..096ccf76d2 100644 --- a/actionpack/lib/action_controller/test_process.rb +++ b/actionpack/lib/action_controller/test_process.rb @@ -112,6 +112,7 @@ module ActionController #:nodoc: path_parameters[key.to_s] = value end end + @parameters = nil # reset TestRequest#parameters to use the new path_parameters end def recycle!