Permalink
Browse files

Ensure TestRequest#session always returns a TestSession [Koz]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4630 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 2e88b5d commit d02c07dbb990753d339e5c49e8ccddfa0a052c6b @NZKoz NZKoz committed Jul 28, 2006
Showing with 3 additions and 1 deletion.
  1. +2 −0 actionpack/CHANGELOG
  2. +1 −1 actionpack/lib/action_controller/test_process.rb
View
@@ -1,5 +1,7 @@
*SVN*
+* TestRequest#reset_session should restore a TestSession, not a hash [Koz]
+
* Don't search a load-path of '.' for controller files [Jamis Buck]
* Update integration.rb to require test_process explicitly instead of via Dependencies. [Nicholas Seckar]
@@ -38,7 +38,7 @@ def initialize(query_parameters = nil, request_parameters = nil, session = nil)
end
def reset_session
- @session = {}
+ @session = TestSession.new
end
def raw_post

0 comments on commit d02c07d

Please sign in to comment.