Removed deprecated ActionController::Base.cookie (use ActionController#Base.cookies[]= instead)

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7435 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson
2007-09-09 22:56:15 +00:00
parent 4cfc60a6c8
commit f7b0bc9ea3

View File

@@ -45,11 +45,6 @@ class CookieTest < Test::Unit::TestCase
@request.host = "www.nextangle.com"
end
def test_setting_cookie_with_deprecated_writer
get :authenticate_with_deprecated_writer
assert_equal [ CGI::Cookie::new("name" => "user_name", "value" => "david") ], @response.headers["cookie"]
end
def test_setting_cookie
get :authenticate
assert_equal [ CGI::Cookie::new("name" => "user_name", "value" => "david") ], @response.headers["cookie"]