Permalink
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...
1 parent e75d27f commit ed02f415d766467b3ec9acf803774b1fc239c492 @technoweenie technoweenie committed Apr 22, 2006
Showing with 1 addition and 0 deletions.
  1. +1 −0 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!

0 comments on commit ed02f41

Please sign in to comment.