aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-02-07 15:37:54 -0600
committerJoshua Peek <josh@joshpeek.com>2009-02-07 15:37:54 -0600
commit0edb0a4facdf6de8d12a004b59232e1006b93cd9 (patch)
tree743e53fde9dedb4d91d05bbb656c35fb595d953b /actionpack/test/controller
parent3c625d65e82c2c20f2c0a6dbb2c1db1063db9f72 (diff)
downloadrails-0edb0a4facdf6de8d12a004b59232e1006b93cd9.tar.gz
rails-0edb0a4facdf6de8d12a004b59232e1006b93cd9.tar.bz2
rails-0edb0a4facdf6de8d12a004b59232e1006b93cd9.zip
Deprecate ActionController::Response#set_cookie :http_only option infavor of :httponly
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/cookie_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/cookie_test.rb b/actionpack/test/controller/cookie_test.rb
index 9508348ca1..657be3c4e4 100644
--- a/actionpack/test/controller/cookie_test.rb
+++ b/actionpack/test/controller/cookie_test.rb
@@ -33,7 +33,7 @@ class CookieTest < ActionController::TestCase
end
def authenticate_with_http_only
- cookies["user_name"] = { :value => "david", :http_only => true }
+ cookies["user_name"] = { :value => "david", :httponly => true }
end
def rescue_action(e)