diff options
author | Frederick Cheung <frederick.cheung@gmail.com> | 2008-12-21 12:35:29 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-12-21 15:57:09 +0000 |
commit | cf9c36834a8d11ef05da7bd7d2dce7c3e121501a (patch) | |
tree | f68b39b34f018d5e0c5197ae859074ce61e6b68d /actionpack | |
parent | 40247a8cbb1ec735ccd4d8490043345b86af31cc (diff) | |
download | rails-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.rb | 6 |
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 |