Skip to content

Commit

Permalink
Simplify failing dashboard spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
ugisozols committed May 25, 2012
1 parent 9747dea commit 62d560d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dashboard/spec/requests/refinery/admin/dashboard_spec.rb
Expand Up @@ -47,8 +47,7 @@

# see https://github.com/resolve/refinerycms/issues/1673
it "uses proper link for nested pages" do
parent = FactoryGirl.create :page, :title => "Parent"
nested = FactoryGirl.create :page, :title => "I'm nested", :parent_id => parent.id
nested = FactoryGirl.create :page, :parent_id => Refinery::Page.last.id

visit refinery.admin_dashboard_path

Expand Down

0 comments on commit 62d560d

Please sign in to comment.