Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
$ 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.
Scenario: Create a new location # features/manage_locations.feature:19
Given I am on new location page # features/step_definitions/location_steps.rb:22
undefined local variable or method `new_location_path' for #<Cucumber::Rails::World:0x0000010332f330> (NameError)
./features/step_definitions/location_steps.rb:23:in `/^I am on new location page$/'
features/manage_locations.feature:20:in `Given I am on new location page'
And I fill in "Name" with "Shiny location" # features/step_definitions/location_steps.rb:26
When I press "Create" # features/step_definitions/location_steps.rb:30
Then I should see "Shiny location" # features/step_definitions/location_steps.rb:9
Failing Scenarios:
cucumber -p wip features/manage_locations.feature:19 # Scenario: Create a new location
1 scenario (1 failed)
4 steps (1 failed, 3 skipped)
The --wip switch was used, so the failures were expected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment