$ 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 Outline: Delete a location # features/managing_locations.feature:42
Given there are 4 locations # features/step_definitions/location_steps.rb:33
And I am on the <language> site # features/step_definitions/location_steps.rb:5
And I <action> the 3rd location # features/step_definitions/location_steps.rb:37
Then I should see 3 locations # features/step_definitions/location_steps.rb:44
| language | action |
| en | Delete |
The action 'destroy' could not be found for LocationsController (AbstractController::ActionNotFound)
./features/step_definitions/location_steps.rb:40:in `block (2 levels) in <top (required)>'
./features/step_definitions/location_steps.rb:39:in `/^I (.*) the (\d+)rd location$/'
features/managing_locations.feature:45:in `And I <action> the 3rd location'
cucumber -p wip features/managing_locations.feature:42 # Scenario: Delete a location
1 scenario (1 failed)
4 steps (1 failed, 1 skipped, 2 passed)
The --wip switch was used, so the failures were expected. All is good.