summaryrefslogtreecommitdiffstats
path: root/test/unit/version_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/version_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/version_test.rb')
-rw-r--r--test/unit/version_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/version_test.rb b/test/unit/version_test.rb
index 470207be2..bd0590cb5 100644
--- a/test/unit/version_test.rb
+++ b/test/unit/version_test.rb
@@ -243,12 +243,12 @@ class VersionTest < ActiveSupport::TestCase
# Project 1 now out of the shared scope
project_1_issue.reload
- assert_equal nil, project_1_issue.fixed_version,
+ assert_nil project_1_issue.fixed_version,
"Fixed version is still set after changing the Version's sharing"
# Project 5 now out of the shared scope
project_5_issue.reload
- assert_equal nil, project_5_issue.fixed_version,
+ assert_nil project_5_issue.fixed_version,
"Fixed version is still set after changing the Version's sharing"
# Project 2 issue remains