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
This commit is contained in:
Jean-Philippe Lang 2012-07-16 16:35:21 +00:00
parent 7f1fb7ce81
commit 570e1b1d62
1 changed files with 0 additions and 2 deletions

View File

@ -66,8 +66,6 @@ class AccountTest < ActionController::IntegrationTest
assert_template 'my/page' assert_template 'my/page'
assert_equal user.id, session[:user_id] assert_equal user.id, session[:user_id]
assert_not_nil user.reload.last_login_on 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 end
def test_lost_password def test_lost_password