From: Jean-Philippe Lang Date: Mon, 16 Jul 2012 16:35:21 +0000 (+0000) Subject: Removed assertion that is susceptible to fail if test runs slowly. X-Git-Tag: 2.1.0~309 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=570e1b1d626543738cec3dc3ed07da73a47a98dd;p=redmine.git Removed assertion that is susceptible to fail if test runs slowly. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10011 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/integration/account_test.rb b/test/integration/account_test.rb index d50bb894e..905beb0a9 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