summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/integration/account_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/account_test.rb b/test/integration/account_test.rb
index e8ae884a6..497d510f4 100644
--- a/test/integration/account_test.rb
+++ b/test/integration/account_test.rb
@@ -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