Skip to content

Commit

Permalink
Blog spec fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed Aug 5, 2010
1 parent c307dd7 commit 1f251f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vendor/modules/blog/spec/models/blog/add_blog_wizard_spec.rb
Expand Up @@ -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
Expand Down

0 comments on commit 1f251f2

Please sign in to comment.