1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -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:
Michael Koziarski 2006-07-28 23:15:12 +00:00
parent 2e88b5d37f
commit d02c07dbb9
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
*SVN* *SVN*
* TestRequest#reset_session should restore a TestSession, not a hash [Koz]
* Don't search a load-path of '.' for controller files [Jamis Buck] * 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] * Update integration.rb to require test_process explicitly instead of via Dependencies. [Nicholas Seckar]

View file

@ -38,7 +38,7 @@ module ActionController #:nodoc:
end end
def reset_session def reset_session
@session = {} @session = TestSession.new
end end
def raw_post def raw_post