Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit d02c07dbb990753d339e5c49e8ccddfa0a052c6b 1 parent 2e88b5d
@NZKoz NZKoz authored
View
2  actionpack/CHANGELOG
@@ -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]
View
2  actionpack/lib/action_controller/test_process.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.