Guest User

Untitled

a guest
Feb 19th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. [knewby@john tuner]$ cucumber features/grid_file_upload.feature
  2. Using the default profile...
  3. Feature: Uploading a Grid XML File
  4. In Order to easily manage guides and channels
  5. As a Tuner Reachback Analyst
  6. I want to be able to upload my Grid XML Files to create guides and channels
  7.  
  8. Scenario: Uploading the Grid XML File # features/grid_file_upload.feature:6
  9. Given I am on the new grid file page # features/step_definitions/web_steps.rb:19
  10. When I upload the "grid.xml" file # features/step_definitions/grid_file_steps.rb:1
  11. And I press "Upload File" # features/step_definitions/web_steps.rb:27
  12. You have a nil object when you didn't expect it!
  13. You might have expected an instance of ActiveRecord::Base.
  14. The error occurred while evaluating nil.[] (NoMethodError)
  15. ./lib/tac_updater.rb:68:in `raw_rss_feed'
  16. ./lib/tac_updater.rb:51:in `parsed_rss_feed'
  17. ./lib/tac_updater.rb:41:in `name'
  18. ./app/controllers/admin/grid_file_controller.rb:13:in `create'
  19. ./app/controllers/admin/grid_file_controller.rb:12:in `each'
  20. ./app/controllers/admin/grid_file_controller.rb:12:in `create'
  21. ./app/controllers/admin/grid_file_controller.rb:10:in `each'
  22. ./app/controllers/admin/grid_file_controller.rb:10:in `create'
  23. /usr/local/lib/ruby/1.8/benchmark.rb:308:in `realtime'
  24. ./features/step_definitions/web_steps.rb:29
  25. ./features/step_definitions/web_steps.rb:14:in `with_scope'
  26. ./features/step_definitions/web_steps.rb:28:in `/^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/'
  27. features/grid_file_upload.feature:9:in `And I press "Upload File"'
  28. Then I should be on the home page # features/step_definitions/web_steps.rb:195
  29.  
  30. Failing Scenarios:
  31. cucumber features/grid_file_upload.feature:6 # Scenario: Uploading the Grid XML File
  32.  
  33. 1 scenario (1 failed)
  34. 4 steps (1 failed, 1 skipped, 2 passed)
Add Comment
Please, Sign In to add comment