]> source.dussan.org Git - redmine.git/commitdiff
Removed assertion that is susceptible to fail if test runs slowly.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 16 Jul 2012 16:35:21 +0000 (16:35 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 16 Jul 2012 16:35:21 +0000 (16:35 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10011 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/account_test.rb

index d50bb894e518fa34723623d1f1914cc2c1e19150..905beb0a9322a030a3fff7af7f1a4419f52e2c36 100644 (file)
@@ -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