diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-12-11 15:26:41 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-12-11 15:26:41 +0000 |
commit | bf5dade8df89bd4e519b59846a9007bd0a5911ca (patch) | |
tree | 39f4320fdab714739002a7ea97205349a7a558ac /test/unit/journal_test.rb | |
parent | e937cb533efaf6f56db4fd406612e09133bed11b (diff) | |
download | redmine-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/journal_test.rb')
-rw-r--r-- | test/unit/journal_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/journal_test.rb b/test/unit/journal_test.rb index f26b284e7..054bdb450 100644 --- a/test/unit/journal_test.rb +++ b/test/unit/journal_test.rb @@ -201,7 +201,7 @@ class JournalTest < ActiveSupport::TestCase def test_custom_field_should_return_nil_for_non_cf_detail d = JournalDetail.new(:property => 'subject') - assert_equal nil, d.custom_field + assert_nil d.custom_field end def test_visible_details_should_include_relations_to_visible_issues_only |