diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-20 23:49:43 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-20 23:49:43 +0000 |
commit | e875b0db4714a86798a8248e91bea3fb7ffefe52 (patch) | |
tree | 4fea2736377ed0ed93cfe54800c32057552cd85c /actionpack/lib | |
parent | 377bdd02b9daba35113299262a98060763925959 (diff) | |
download | rails-e875b0db4714a86798a8248e91bea3fb7ffefe52.tar.gz rails-e875b0db4714a86798a8248e91bea3fb7ffefe52.tar.bz2 rails-e875b0db4714a86798a8248e91bea3fb7ffefe52.zip |
Fixed that the request method would be sticky in tests (closes #3849) [lars@pinds.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3622 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/test_process.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/test_process.rb b/actionpack/lib/action_controller/test_process.rb index caba4bfb39..5fe88eb454 100644 --- a/actionpack/lib/action_controller/test_process.rb +++ b/actionpack/lib/action_controller/test_process.rb @@ -102,8 +102,9 @@ module ActionController #:nodoc: def recycle! self.request_parameters = {} - self.query_parameters = {} - self.path_parameters = {} + self.query_parameters = {} + self.path_parameters = {} + @request_method = nil end private |