]> source.dussan.org Git - redmine.git/commitdiff
Test failure (#3041).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 28 Mar 2009 12:30:48 +0000 (12:30 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 28 Mar 2009 12:30:48 +0000 (12:30 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2640 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/account_test.rb

index e8ae884a665b4b744ea5e7b7428eb209b0c2b38c..497d510f4cfb73f2ba768648dd9f9b97c63ccf29 100644 (file)
@@ -66,7 +66,7 @@ class AccountTest < ActionController::IntegrationTest
     assert_template 'my/page'
     assert_equal user.id, session[:user_id]
     assert_not_nil user.reload.last_login_on
-    assert user.last_login_on > 2.second.ago
+    assert user.last_login_on.utc > 10.second.ago.utc
   end
   
   def test_lost_password