Skip to content
Snippets Groups Projects
Commit d3a926df authored by Jean-Philippe Lang's avatar Jean-Philippe Lang
Browse files

Fixes wrong assertion.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4600 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 44ffc5a3
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment