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
上级 4cfc60a6
......@@ -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"]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册