summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-11 15:22:29 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-11 15:22:29 +0000
commite937cb533efaf6f56db4fd406612e09133bed11b (patch)
treeaca29f108bde0fe5b022db42e9a6ac1d479f75b7 /test
parent1d7127a408ab062aa801978986b5d6d2bc1f9d0f (diff)
downloadredmine-e937cb533efaf6f56db4fd406612e09133bed11b.tar.gz
redmine-e937cb533efaf6f56db4fd406612e09133bed11b.zip
Use assert_nil instead of assert_equal.
git-svn-id: http://svn.redmine.org/redmine/trunk@16059 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/test_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index f43b10df0..1ab7e9e03 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -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