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/functional/project_enumerations_controller_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/functional/project_enumerations_controller_test.rb')
-rw-r--r-- | test/functional/project_enumerations_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/project_enumerations_controller_test.rb b/test/functional/project_enumerations_controller_test.rb index 1ab95e4ec..c098b2b30 100644 --- a/test/functional/project_enumerations_controller_test.rb +++ b/test/functional/project_enumerations_controller_test.rb @@ -83,7 +83,7 @@ class ProjectEnumerationsControllerTest < Redmine::ControllerTest assert_equal "1", previously_inactive.custom_value_for(billable_field).value # ... QA - assert_equal nil, project.time_entry_activities.find_by_name("QA"), "Custom QA activity created when it wasn't modified" + assert_nil project.time_entry_activities.find_by_name("QA"), "Custom QA activity created when it wasn't modified" end def test_update_will_update_project_specific_activities |