From 1f251f2c1c76eb8de31e73db335536e4976e0a90 Mon Sep 17 00:00:00 2001 From: Pascal Rettig Date: Thu, 5 Aug 2010 17:35:49 -0400 Subject: [PATCH] Blog spec fix --- vendor/modules/blog/spec/models/blog/add_blog_wizard_spec.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vendor/modules/blog/spec/models/blog/add_blog_wizard_spec.rb b/vendor/modules/blog/spec/models/blog/add_blog_wizard_spec.rb index b0691fe9..dbb4deff 100644 --- a/vendor/modules/blog/spec/models/blog/add_blog_wizard_spec.rb +++ b/vendor/modules/blog/spec/models/blog/add_blog_wizard_spec.rb @@ -18,9 +18,10 @@ :blog_id => @blog.id, :add_to_id => root_node.id, :add_to_subpage => 'blog', - :detail_page_url => 'myview' + :detail_page_url => 'myview', + :number_of_dummy_posts => 0 ) - wizard.add_to_site! + wizard.run_wizard SiteNode.find_by_node_path('/tester/blog').should_not be_nil SiteNode.find_by_node_path('/tester/blog/myview').should_not be_nil