From 6086aa1be4b2010383c702982847434e30960d1e 2012-07-07 05:42:52 From: Jean-Philippe Lang Date: 2012-07-07 05:42:52 Subject: [PATCH] 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 5e7ef77..ccee3d2 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