summaryrefslogtreecommitdiffstats
path: root/test/unit/project_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/project_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/project_test.rb')
-rw-r--r--test/unit/project_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb
index b134c67cc..3809662f7 100644
--- a/test/unit/project_test.rb
+++ b/test/unit/project_test.rb
@@ -353,8 +353,8 @@ class ProjectTest < ActiveSupport::TestCase
issue_with_hierarchy_fixed_version.reload
assert_equal 4, issue_with_local_fixed_version.fixed_version_id, "Fixed version was not keep on an issue local to the moved project"
- assert_equal nil, issue_with_hierarchy_fixed_version.fixed_version_id, "Fixed version is still set after moving the Project out of the hierarchy where the version is defined in"
- assert_equal nil, parent_issue.fixed_version_id, "Fixed version is still set after moving the Version out of the hierarchy for the issue."
+ assert_nil issue_with_hierarchy_fixed_version.fixed_version_id, "Fixed version is still set after moving the Project out of the hierarchy where the version is defined in"
+ assert_nil parent_issue.fixed_version_id, "Fixed version is still set after moving the Version out of the hierarchy for the issue."
end
def test_parent