Permalink
Browse files

Removed deprecated ActionController::Base.cookie (use ActionControlle…

…r#Base.cookies[]= instead)

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7435 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 4cfc60a commit f7b0bc9ea3d2c729c9d0fbe07c2dbe65e8f6ff5c @dhh dhh committed Sep 9, 2007
Showing with 0 additions and 5 deletions.
  1. +0 −5 actionpack/test/controller/cookie_test.rb
@@ -45,11 +45,6 @@ def setup
@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"]

0 comments on commit f7b0bc9

Please sign in to comment.