summaryrefslogtreecommitdiffstats
path: root/test/unit/changeset_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-11 15:26:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-11 15:26:41 +0000
commitbf5dade8df89bd4e519b59846a9007bd0a5911ca (patch)
tree39f4320fdab714739002a7ea97205349a7a558ac /test/unit/changeset_test.rb
parente937cb533efaf6f56db4fd406612e09133bed11b (diff)
downloadredmine-bf5dade8df89bd4e519b59846a9007bd0a5911ca.tar.gz
redmine-bf5dade8df89bd4e519b59846a9007bd0a5911ca.zip
Use assert_nil instead of assert_equal.
git-svn-id: http://svn.redmine.org/redmine/trunk@16060 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/changeset_test.rb')
-rw-r--r--test/unit/changeset_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/changeset_test.rb b/test/unit/changeset_test.rb
index 179c515b4..780bc0bd2 100644
--- a/test/unit/changeset_test.rb
+++ b/test/unit/changeset_test.rb
@@ -566,7 +566,7 @@ class ChangesetTest < ActiveSupport::TestCase
:committer => nil)
assert( c.save )
assert_equal "", c.comments
- assert_equal nil, c.committer
+ assert_nil c.committer
assert_equal "UTF-8", c.comments.encoding.to_s
end