From d3a926df6411785d32fde4ef0344d028ad16cfd3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 31 Dec 2010 15:45:35 +0000 Subject: [PATCH] Fixes wrong assertion. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4600 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/project_enumerations_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/project_enumerations_controller_test.rb b/test/functional/project_enumerations_controller_test.rb index e39ee77a7..3a10a3baf 100644 --- a/test/functional/project_enumerations_controller_test.rb +++ b/test/functional/project_enumerations_controller_test.rb @@ -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 -- 2.39.5