aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2006-04-22 04:59:15 +0000
committerRick Olson <technoweenie@gmail.com>2006-04-22 04:59:15 +0000
commited02f415d766467b3ec9acf803774b1fc239c492 (patch)
tree952aa27c54545da46a9cb6ce47718401a344e790
parente75d27f405d755c1dda42f4c757ac4ac0cfaca4f (diff)
downloadrails-ed02f415d766467b3ec9acf803774b1fc239c492.tar.gz
rails-ed02f415d766467b3ec9acf803774b1fc239c492.tar.bz2
rails-ed02f415d766467b3ec9acf803774b1fc239c492.zip
reset TestRequest#parameters after assigning paramters
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4246 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--actionpack/lib/action_controller/test_process.rb1
1 files changed, 1 insertions, 0 deletions
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!