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:
parent
b9151cb3e8
commit
f9732b02a2
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue