From: Jean-Philippe Lang Date: Sat, 7 Jul 2012 05:42:52 +0000 (+0000) Subject: Code cleanup. X-Git-Tag: 2.1.0~377 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6086aa1be4b2010383c702982847434e30960d1e;p=redmine.git Code cleanup. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9928 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/account_controller_openid_test.rb b/test/functional/account_controller_openid_test.rb index 5e7ef7711..ccee3d256 100644 --- a/test/functional/account_controller_openid_test.rb +++ b/test/functional/account_controller_openid_test.rb @@ -80,7 +80,7 @@ class AccountControllerTest < ActionController::TestCase post :login, :openid_url => 'http://openid.example.com/good_user' assert_redirected_to home_url user = User.find_by_login('cool_user') - assert ! user + assert_nil user end def test_login_with_openid_with_new_user_created_with_email_activation_should_have_a_token