From f9732b02a2737c89def2f93672d21fc61e1b25f3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 27 Nov 2009 20:49:08 +0000 Subject: [PATCH] Fixes a test failure. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3100 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/document_category_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/document_category_test.rb b/test/unit/document_category_test.rb index 3237e96fd..9b09dc094 100644 --- a/test/unit/document_category_test.rb +++ b/test/unit/document_category_test.rb @@ -25,7 +25,7 @@ class DocumentCategoryTest < ActiveSupport::TestCase end def test_objects_count - assert_equal 1, DocumentCategory.find_by_name("Uncategorized").objects_count + assert_equal 2, DocumentCategory.find_by_name("Uncategorized").objects_count assert_equal 0, DocumentCategory.find_by_name("User documentation").objects_count end