mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 17:56:11 +02:00
Use assert_nil instead of assert_equal.
git-svn-id: http://svn.redmine.org/redmine/trunk@16060 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -463,7 +463,7 @@ class UsersControllerTest < Redmine::ControllerTest
|
||||
:user => {:auth_source_id => '', :password => 'newpass123', :password_confirmation => 'newpass123'}
|
||||
}
|
||||
|
||||
assert_equal nil, u.reload.auth_source
|
||||
assert_nil u.reload.auth_source
|
||||
assert u.check_password?('newpass123')
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user