From 10706c5a116b6c333609a6831a11818be6271270 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 31 Jul 2012 11:12:57 +0000 Subject: [PATCH] Merged r10011 from trunk to 2.0-stable Removed assertion that is susceptible to fail if test runs slowly. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.0-stable@10140 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/integration/account_test.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/integration/account_test.rb b/test/integration/account_test.rb index 9f73be2c2..a3af107c9 100644 --- a/test/integration/account_test.rb +++ b/test/integration/account_test.rb @@ -66,8 +66,6 @@ class AccountTest < ActionController::IntegrationTest assert_template 'my/page' assert_equal user.id, session[:user_id] assert_not_nil user.reload.last_login_on - seconds_ago = 10.second.ago.utc - assert user.last_login_on.utc > 10.second.ago.utc, "#{user.last_login_on.utc} was not > #{seconds_ago}" end def test_lost_password -- 2.39.5