Skip to content
Browse files

Simplify failing dashboard spec.

  • Loading branch information...
1 parent ab1b4f1 commit 5aad5d3283f9fdb0ea86ddb4972aad64bbaf5c8d @ugisozols ugisozols committed with parndt May 21, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 dashboard/spec/requests/refinery/admin/dashboard_spec.rb
View
3 dashboard/spec/requests/refinery/admin/dashboard_spec.rb
@@ -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

0 comments on commit 5aad5d3

Please sign in to comment.
Something went wrong with that request. Please try again.