]> source.dussan.org Git - redmine.git/commitdiff
Fixes a test failure.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 27 Nov 2009 20:49:08 +0000 (20:49 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 27 Nov 2009 20:49:08 +0000 (20:49 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3100 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/document_category_test.rb

index 3237e96fd52d852a8c4e1a90c0c84369a8d66442..9b09dc0944d0d183852ad8c0b75f50d11565d805 100644 (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