aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorFrederick Cheung <frederick.cheung@gmail.com>2008-12-21 12:35:29 +0000
committerPratik Naik <pratiknaik@gmail.com>2008-12-21 15:57:09 +0000
commitcf9c36834a8d11ef05da7bd7d2dce7c3e121501a (patch)
treef68b39b34f018d5e0c5197ae859074ce61e6b68d /actionpack
parent40247a8cbb1ec735ccd4d8490043345b86af31cc (diff)
downloadrails-cf9c36834a8d11ef05da7bd7d2dce7c3e121501a.tar.gz
rails-cf9c36834a8d11ef05da7bd7d2dce7c3e121501a.tar.bz2
rails-cf9c36834a8d11ef05da7bd7d2dce7c3e121501a.zip
Fix failing cookie store test
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/controller/cookie_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/controller/cookie_test.rb b/actionpack/test/controller/cookie_test.rb
index 84d272b1c7..3ddc5768a9 100644
--- a/actionpack/test/controller/cookie_test.rb
+++ b/actionpack/test/controller/cookie_test.rb
@@ -7,15 +7,15 @@ class CookieTest < Test::Unit::TestCase
end
def authenticate_for_fourteen_days
- cookies["user_name"] = { "value" => "david", "expires" => Time.local(2005, 10, 10) }
+ cookies["user_name"] = { "value" => "david", "expires" => Time.utc(2005, 10, 10,5) }
end
def authenticate_for_fourteen_days_with_symbols
- cookies[:user_name] = { :value => "david", :expires => Time.local(2005, 10, 10) }
+ cookies[:user_name] = { :value => "david", :expires => Time.utc(2005, 10, 10,5) }
end
def set_multiple_cookies
- cookies["user_name"] = { "value" => "david", "expires" => Time.local(2005, 10, 10) }
+ cookies["user_name"] = { "value" => "david", "expires" => Time.utc(2005, 10, 10,5) }
cookies["login"] = "XJ-122"
end