summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-07 05:42:52 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-07 05:42:52 +0000
commit6086aa1be4b2010383c702982847434e30960d1e (patch)
treead21d758cf4bccb2d0318c5104385a2f0f2e2e63
parent8a080d8e53ac9ac4705ba57a58a2421d32686c1d (diff)
downloadredmine-6086aa1be4b2010383c702982847434e30960d1e.tar.gz
redmine-6086aa1be4b2010383c702982847434e30960d1e.zip
Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9928 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/functional/account_controller_openid_test.rb2
1 files changed, 1 insertions, 1 deletions
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