summaryrefslogtreecommitdiffstats
path: root/test/unit/project_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-26 20:41:16 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-26 20:41:16 +0000
commit13881f5a5beba785626fe6c7f49d45b3fa1f8d49 (patch)
tree665701d3c2831bd3be28d7e7f0e7b34f533f3389 /test/unit/project_test.rb
parentc38a2112c6eb4dbd4ad221e9159aa33be197efba (diff)
downloadredmine-13881f5a5beba785626fe6c7f49d45b3fa1f8d49.tar.gz
redmine-13881f5a5beba785626fe6c7f49d45b3fa1f8d49.zip
deprecated projects_count replaced
git-svn-id: http://redmine.rubyforge.org/svn/trunk@189 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/project_test.rb')
-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