Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
$ cucumber --profile wip
Using the wip profile...
Feature: Manage locations
In order to manage locations
As a user
I want to create and edit my locations.
@wip
Scenario Outline: Edit a location # features/managing_locations.feature:31
Given I am on the <language> site # features/step_definitions/location_steps.rb:5
And there is a location named "<location>" # features/step_definitions/location_steps.rb:1
When I "<action>" the location "<field>" to "<new_name>" # features/step_definitions/location_steps.rb:33
Then I should see "<new_name>" # features/step_definitions/location_steps.rb:13
Examples:
| language | location | action | field | new_name |
| en | location 1 | Update | Name | location has changed |
Missing template locations/edit, application/edit with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee]}. Searched in:
* "/Users/johnivanoff/Sites/international/app/views"
(ActionView::MissingTemplate)
/Users/johnivanoff/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/benchmark.rb:309:in `realtime'
(eval):2:in `click_link'
./features/step_definitions/location_steps.rb:35:in `/^I "([^"]*)" the location "([^"]*)" to "([^"]*)"$/'
features/managing_locations.feature:34:in `When I "<action>" the location "<field>" to "<new_name>"'
Failing Scenarios:
cucumber -p wip features/managing_locations.feature:31 # Scenario: Edit a location
1 scenario (1 failed)
4 steps (1 failed, 1 skipped, 2 passed)
0m2.088s
The --wip switch was used, so the failures were expected. All is good.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.