Guest User

Untitled

a guest
Feb 21st, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.49 KB | None | 0 0
  1. $ rake features
  2. (in /Users/nichoj/Projects/cucumbler)
  3. Feature: Manage froobles # features/manage_froobles.feature
  4. In order to [goal]
  5. [stakeholder]
  6. wants [behaviour]
  7. Scenario: Register new frooble # features/manage_froobles.feature:6
  8. Given I am on the new frooble page # features/step_definitions/frooble_steps.rb:1
  9. undefined method `visits' for #<ActionController::Integration::Session:0x23635c4> (NoMethodError)
  10. /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/test_process.rb:471:in `method_missing'
  11. /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/integration.rb:498:in `__send__'
  12. /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/integration.rb:498:in `method_missing'
  13. ./features/step_definitions/frooble_steps.rb:2:in `Given /I am on the new frooble page/'
  14. features/manage_froobles.feature:7:in `Given I am on the new frooble page'
  15. When I fill in "Name" with "My frooble name" # features/step_definitions/webrat_steps.rb:14
  16. And I fill in "Color" with "My frooble color" # features/step_definitions/webrat_steps.rb:14
  17. And I fill in "Description" with "My frooble description" # features/step_definitions/webrat_steps.rb:14
  18. And I press "Create" # features/step_definitions/webrat_steps.rb:6
  19. Then I should see "My frooble name" # features/step_definitions/webrat_steps.rb:85
  20. And I should see "My frooble color" # features/step_definitions/webrat_steps.rb:85
  21. And I should see "My frooble description" # features/step_definitions/webrat_steps.rb:85
  22.  
  23. Scenario: Delete frooble # features/manage_froobles.feature:16
  24. Given there are 4 froobles # features/step_definitions/frooble_steps.rb:5
  25. When I delete the first frooble # features/step_definitions/frooble_steps.rb:14
  26. undefined method `visits' for #<ActionController::Integration::Session:0x22a09ac> (NoMethodError)
  27. /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/test_process.rb:471:in `method_missing'
  28. /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/integration.rb:498:in `__send__'
  29. /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/integration.rb:498:in `method_missing'
  30. ./features/step_definitions/frooble_steps.rb:15:in `When /I delete the first frooble/'
  31. features/manage_froobles.feature:18:in `When I delete the first frooble'
  32. Then there should be 3 froobles left # features/step_definitions/frooble_steps.rb:19
  33.  
  34. |initial|after|
  35. |100 |99 |
  36.  
  37. undefined method `visits' for #<ActionController::Integration::Session:0x2326624> (NoMethodError)
  38. /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/test_process.rb:471:in `method_missing'
  39. /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/integration.rb:498:in `__send__'
  40. /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/integration.rb:498:in `method_missing'
  41. ./features/step_definitions/frooble_steps.rb:15:in ` /I delete the first frooble/'
  42. features/manage_froobles.feature:23:in `/I delete the first frooble/'
  43. |1 |0 |
  44.  
  45. undefined method `visits' for #<ActionController::Integration::Session:0x2645a6c> (NoMethodError)
  46. /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/test_process.rb:471:in `method_missing'
  47. /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/integration.rb:498:in `__send__'
  48. /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/integration.rb:498:in `method_missing'
  49. ./features/step_definitions/frooble_steps.rb:15:in ` /I delete the first frooble/'
  50. features/manage_froobles.feature:24:in `/I delete the first frooble/'
  51.  
  52. 3 steps passed
  53. 4 steps failed
  54. 10 steps skipped
  55. rake aborted!
  56. Command failed with status (1): [/opt/ruby-enterprise-1.8.6-20080810/bin/ru...]
  57.  
  58. (See full trace by running task with --trace)
Add Comment
Please, Sign In to add comment