]> source.dussan.org Git - redmine.git/commitdiff
Fixes wrong assertion.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 31 Dec 2010 15:45:35 +0000 (15:45 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 31 Dec 2010 15:45:35 +0000 (15:45 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4600 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/project_enumerations_controller_test.rb

index e39ee77a7ffb8bd26c5659668eb399681ee13125..3a10a3baf15863c5728090da658066c971c734ca 100644 (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