Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

reset TestRequest#parameters after assigning paramters

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4246 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit ed02f415d766467b3ec9acf803774b1fc239c492 1 parent e75d27f
@technoweenie technoweenie authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  actionpack/lib/action_controller/test_process.rb
View
1  actionpack/lib/action_controller/test_process.rb
@@ -112,6 +112,7 @@ def assign_parameters(controller_path, action, parameters)
path_parameters[key.to_s] = value
end
end
+ @parameters = nil # reset TestRequest#parameters to use the new path_parameters
end
def recycle!
Please sign in to comment.
Something went wrong with that request. Please try again.