public
Created

  • Download Gist
gistfile1.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
$ 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: Create a new location # features/manage_locations.feature:19
Given I am on new location page # features/step_definitions/location_steps.rb:22
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
Missing template locations/show, application/show with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee]}. Searched in:
* "/Users/john/Sites/zzz/app/views"
(ActionView::MissingTemplate)
/Users/john/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
./app/controllers/locations_controller.rb:43:in `show'
(eval):2:in `click_button'
./features/step_definitions/location_steps.rb:31:in `/^I press "([^"]*)"$/'
features/manage_locations.feature:22:in `When I press "Create"'
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, 1 skipped, 2 passed)
0m0.613s
 
The --wip switch was used, so the failures were expected. All is good.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.