summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/project_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb
index d8d29c614..931939e6b 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