summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-31 15:45:35 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-31 15:45:35 +0000
commitd3a926df6411785d32fde4ef0344d028ad16cfd3 (patch)
treeaeb491ebdd8309e60128c29a6cc65ee78c954b45 /test
parent44ffc5a3365ffd16d6971d1c3f691a2f3f80ba3b (diff)
downloadredmine-d3a926df6411785d32fde4ef0344d028ad16cfd3.tar.gz
redmine-d3a926df6411785d32fde4ef0344d028ad16cfd3.zip
Fixes wrong assertion.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4600 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/project_enumerations_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
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