summaryrefslogtreecommitdiffstats
path: root/test/unit/document_category_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-27 20:49:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-27 20:49:08 +0000
commitf9732b02a2737c89def2f93672d21fc61e1b25f3 (patch)
tree55bceaf7918b2bb49807a45d3561a714cb8aa549 /test/unit/document_category_test.rb
parentb9151cb3e8b8400f45e555fb7401ae823451268c (diff)
downloadredmine-f9732b02a2737c89def2f93672d21fc61e1b25f3.tar.gz
redmine-f9732b02a2737c89def2f93672d21fc61e1b25f3.zip
Fixes a test failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3100 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/document_category_test.rb')
-rw-r--r--test/unit/document_category_test.rb2
1 files changed, 1 insertions, 1 deletions
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