mirror of
https://github.com/github/rails.git
synced 2026-01-30 00:38:00 -05:00
Ensure TestRequest#session always returns a TestSession [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4630 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -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 @@ module ActionController #:nodoc:
|
||||
end
|
||||
|
||||
def reset_session
|
||||
@session = {}
|
||||
@session = TestSession.new
|
||||
end
|
||||
|
||||
def raw_post
|
||||
|
||||
Reference in New Issue
Block a user