From 6086aa1be4b2010383c702982847434e30960d1e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 7 Jul 2012 05:42:52 +0000 Subject: [PATCH] Code cleanup. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9928 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/account_controller_openid_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5