Skip to content

Commit

Permalink
Simplify failing dashboard spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
ugisozols authored and parndt committed May 25, 2012
1 parent ab1b4f1 commit 5aad5d3
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 @@ -49,8 +49,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 5aad5d3

Please sign in to comment.