Skip to content

Instantly share code, notes, and snippets.

@robotarmy
Created April 26, 2011 14:24
Show Gist options
  • Save robotarmy/942343 to your computer and use it in GitHub Desktop.
Save robotarmy/942343 to your computer and use it in GitHub Desktop.
o_o:suggestotron/ $ rake cucumber FEATURE=features/1_topics.feature [7:23:30]
(in /Users/o_o/Class/Railsbridge-Q2/rubyonrails/suggestotron)
bundle exec /Users/o_o/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -I "/Users/o_o/.rvm/gems/ruby-1.9.2-p180/gems/cucumber-0.10.2/lib:lib" "/Users/o_o/.rvm/gems/ruby-1.9.2-p180/gems/cucumber-0.10.2/bin/cucumber" --profile default features/1_topics.feature
Using the default profile...
Feature: Topics
In order to see a list of potential topics for meetings
people need to be able to create and edit them
Scenario: Getting to the new topic page # features/1_topics.feature:5
When I go to the topics page # features/step_definitions/web_steps.rb:48
Can't find mapping from "the topics page" to a path.
Now, go and add a mapping in /Users/o_o/Class/Railsbridge-Q2/rubyonrails/suggestotron/features/support/paths.rb (RuntimeError)
./features/support/paths.rb:27:in `rescue in path_to'
./features/support/paths.rb:21:in `path_to'
./features/step_definitions/web_steps.rb:49:in `/^(?:|I )go to (.+)$/'
features/1_topics.feature:6:in `When I go to the topics page'
And I follow "New Topic" # features/step_definitions/web_steps.rb:56
Then I should see a "Create" button # features/step_definitions/topic_steps.rb:1
Scenario: Creating a topic # features/1_topics.feature:10
Given I go to the topics page # features/step_definitions/web_steps.rb:48
Can't find mapping from "the topics page" to a path.
Now, go and add a mapping in /Users/o_o/Class/Railsbridge-Q2/rubyonrails/suggestotron/features/support/paths.rb (RuntimeError)
./features/support/paths.rb:27:in `rescue in path_to'
./features/support/paths.rb:21:in `path_to'
./features/step_definitions/web_steps.rb:49:in `/^(?:|I )go to (.+)$/'
features/1_topics.feature:11:in `Given I go to the topics page'
And I follow "New Topic" # features/step_definitions/web_steps.rb:56
When I fill in "Title" with "Rails Fixtures" # features/step_definitions/web_steps.rb:60
And I fill in "Description" with "Introduce how to add test data with fixtures." # features/step_definitions/web_steps.rb:60
And I press "Create" # features/step_definitions/web_steps.rb:52
Then I should see "Rails Fixtures" # features/step_definitions/web_steps.rb:105
And I should be on the topics page # features/step_definitions/web_steps.rb:187
Failing Scenarios:
cucumber features/1_topics.feature:5 # Scenario: Getting to the new topic page
cucumber features/1_topics.feature:10 # Scenario: Creating a topic
2 scenarios (2 failed)
10 steps (2 failed, 8 skipped)
0m3.088s
rake aborted!
Command failed with status (1): [bundle exec /Users/o_o/.rvm/rubies/ruby-1....]
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment