Skip to content

Instantly share code, notes, and snippets.

@johnivanoff
Created January 29, 2012 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnivanoff/1700000 to your computer and use it in GitHub Desktop.
Save johnivanoff/1700000 to your computer and use it in GitHub Desktop.
Feature: Manage locations
In order to manage locations
As a user
I want to create and edit my locations.
Scenario Outline: List locations
Given there is a location named "<location>"
And I am on the <language> site
When I am on the locations page
Then I should see "<title>"
And I should see "<result>"
Examples:
| location | language | title | result |
| location 1 | en | Locations | location 1 |
| location 2 | es | Locaciones | location 2 |
Scenario Outline:: Create a new location
Given I am on the <language> site
And I am on new location page
And I fill in "<name>" with "<location>"
When I press "<button>"
Then I should see "<result>"
Examples:
| language | name | location | button | result |
| en | Name | location 1 | Create | location 1 |
| es | Nombre | location 1 | crear | location 1 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment