Skip to content

Instantly share code, notes, and snippets.

@stevencwarren
Created June 13, 2011 22:50
Show Gist options
  • Save stevencwarren/1023931 to your computer and use it in GitHub Desktop.
Save stevencwarren/1023931 to your computer and use it in GitHub Desktop.
Scenario: visit a child page from a parent page
Given that "Chapel" site has a fixed page with slug "chapel"
And that "chapel" page has a child with slug "chapel-carving" and title "Last Supper Carving"
When I go to the chapel page on the chapel site
Then show me the page
And I follow "Last Supper Carving"
Then I should be on the chapel/chapel-carving page
And I should see "Last Supper Woodcarving"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment