Create a gist now

Instantly share code, notes, and snippets.

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