Fixes wrong assertion.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4600 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2010-12-31 15:45:35 +00:00
parent 44ffc5a336
commit d3a926df64
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ class ProjectEnumerationsControllerTest < ActionController::TestCase
})
assert project_activity.save
assert TimeEntry.update_all("activity_id = '#{project_activity.id}'", ["project_id = ? AND activity_id = ?", 1, 9])
assert 3, TimeEntry.find_all_by_activity_id_and_project_id(project_activity.id, 1).size
assert_equal 3, TimeEntry.find_all_by_activity_id_and_project_id(project_activity.id, 1).size
delete :destroy, :project_id => 1
assert_response :redirect