diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-09 22:56:15 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-09 22:56:15 +0000 |
commit | f7b0bc9ea3d2c729c9d0fbe07c2dbe65e8f6ff5c (patch) | |
tree | bfb534d3c26584079bde0c08e9f871a8e1b79832 /actionpack | |
parent | 4cfc60a6c8b4e6c01d433abdcf0f6d9873732c43 (diff) | |
download | rails-f7b0bc9ea3d2c729c9d0fbe07c2dbe65e8f6ff5c.tar.gz rails-f7b0bc9ea3d2c729c9d0fbe07c2dbe65e8f6ff5c.tar.bz2 rails-f7b0bc9ea3d2c729c9d0fbe07c2dbe65e8f6ff5c.zip |
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
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/cookie_test.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/test/controller/cookie_test.rb b/actionpack/test/controller/cookie_test.rb index 35c6e8b1bd..cb6c21ad43 100644 --- a/actionpack/test/controller/cookie_test.rb +++ b/actionpack/test/controller/cookie_test.rb @@ -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"] |