Skip to content

Instantly share code, notes, and snippets.

@johnivanoff
Created January 29, 2012 18:22
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/1699987 to your computer and use it in GitHub Desktop.
Save johnivanoff/1699987 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: List a location.
Given there is a location named "location 1"
And I am on the en site
When I am on the locations page
Then I should see "Locations"
And I should see "location 1"
Scenario: List a location.
Given there is a location named "location 1"
And I am on the es site
When I am on the locations page
Then I should see "Locaciones"
And I should see "location 1"
Scenario: Create a new location
Given I am on the en site
And I am on new location page
And I fill in "Name" with "Shiny location"
When I press "Create"
Then I should see "Shiny location"
Scenario: Create a new location
Given I am on the es site
And I am on new location page
And I fill in "Nombre" with "buena ubicación"
When I press "crear"
Then I should see "buena ubicación"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment