From 5112ad35e81f84f46b87cc066a5d227aac2059f8 Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Wed, 8 Aug 2012 10:08:39 +0200 Subject: [PATCH] grants autologin test more time before failing --- test/integration/account_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/account_test.rb b/test/integration/account_test.rb index 6b1529060b..a95f1ef349 100644 --- a/test/integration/account_test.rb +++ b/test/integration/account_test.rb @@ -71,7 +71,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.utc > 10.second.ago.utc + assert user.last_login_on.utc > 20.second.ago.utc end def test_lost_password