Skip to content

Instantly share code, notes, and snippets.

@mrkurt
Created September 17, 2009 17:10
Show Gist options
  • Save mrkurt/188595 to your computer and use it in GitHub Desktop.
Save mrkurt/188595 to your computer and use it in GitHub Desktop.
Feature: Entry permalinks
In order to read content
Visitors should be able to
visit permalinks for entries
Scenario: View a short entry
Given I go to a short entry
Then I should see the standard entry elements
And I should not see the extended body
Scenario: View an extended entry
Given I go to an extended entry
Then I should see the standard entry elements
And I should see the extended body
Scenario: View a multipage entry
Given I go to a multipage entry
Then I should see the standard entry elements
And I should see the first page
Scenario: View the second page of a multipage entry
Given I go to page 2 of a multipage entry
Then I should see the standard entry elements
And I should see the 2nd page
And I should not see the body
And I should see the "single page" link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment