Commit f9732b02 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Fixes a test failure.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3100 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent b9151cb3
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment