diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb index d8d29c61..931939e6 100644 --- a/test/unit/project_test.rb +++ b/test/unit/project_test.rb @@ -62,7 +62,7 @@ class ProjectTest < Test::Unit::TestCase assert sub.save assert_equal @ecookbook.id, sub.parent.id @ecookbook.reload - assert_equal 3, @ecookbook.projects_count + assert_equal 3, @ecookbook.children.size end def test_subproject_invalid