]> source.dussan.org Git - redmine.git/commitdiff
Use assert_nil instead of assert_equal.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 11 Dec 2016 15:22:29 +0000 (15:22 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 11 Dec 2016 15:22:29 +0000 (15:22 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@16059 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/test_helper.rb

index f43b10df095f5d8fc1d5b392663a27bb38d06ffd..1ab7e9e03a6716304c1002880935c70c0973a81d 100644 (file)
@@ -319,7 +319,7 @@ module Redmine
     def log_user(login, password)
       User.anonymous
       get "/login"
-      assert_equal nil, session[:user_id]
+      assert_nil session[:user_id]
       assert_response :success
 
       post "/login", :username => login, :password => password