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:
parent
2e88b5d37f
commit
d02c07dbb9
2 changed files with 3 additions and 1 deletions
|
@ -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]
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue