Fixes a test failure.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3100 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-11-27 20:49:08 +00:00
parent b9151cb3e8
commit f9732b02a2
1 changed files with 1 additions and 1 deletions

View File

@ -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