]> source.dussan.org Git - redmine.git/commitdiff
Code cleanup.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 7 Jul 2012 05:42:52 +0000 (05:42 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 7 Jul 2012 05:42:52 +0000 (05:42 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9928 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/account_controller_openid_test.rb

index 5e7ef77110f1ca5597efc49eea33114430c3a0c3..ccee3d256e02aebb2e2271636a0da42e9d8f9089 100644 (file)
@@ -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