Skip to content

Instantly share code, notes, and snippets.

@pwnela
Created April 17, 2014 15:59
Show Gist options
  • Save pwnela/10994176 to your computer and use it in GitHub Desktop.
Save pwnela/10994176 to your computer and use it in GitHub Desktop.
➜ intersect git:(release/20140328) ✗ bundle exec cucumber features/creator/lesson_management.feature
Resque::Helpers will be gone with no replacement in Resque 2.0.0.
Resque::Helpers will be gone with no replacement in Resque 2.0.0.
Resque::Helpers will be gone with no replacement in Resque 2.0.0.
Resque::Helpers will be gone with no replacement in Resque 2.0.0.
Resque::Helpers will be gone with no replacement in Resque 2.0.0.
Using the default profile...
....................................................................................................................F-------------------.....................F-----.........F--......................
(::) failed steps (::)
A publisher could not be found for NilClass (Publication::MissingPublisherError)
./lib/publication.rb:49:in `find_publisher'
./lib/publication.rb:39:in `publish'
./lib/publication/grid_item_publisher.rb:29:in `publish_related_docs'
./lib/publication/standard_publisher.rb:25:in `publish'
./lib/publication.rb:39:in `publish'
./lib/publication/step_publisher.rb:16:in `block in publish_grid_items'
./lib/publication/step_publisher.rb:15:in `publish_grid_items'
./lib/publication/step_publisher.rb:8:in `publish_related_docs'
./lib/publication/standard_publisher.rb:25:in `publish'
./lib/publication.rb:39:in `publish'
./lib/publication/lesson_publisher.rb:19:in `block (2 levels) in publish_steps'
./lib/publication/lesson_publisher.rb:18:in `block in publish_steps'
./lib/publication/lesson_publisher.rb:17:in `publish_steps'
./lib/publication/lesson_publisher.rb:7:in `publish'
./lib/publication/standard_publisher.rb:22:in `publish'
./lib/publication.rb:39:in `publish'
./app/jobs/publisher_job.rb:30:in `block in perform'
./app/jobs/publisher_job.rb:38:in `block in as_publisher_robot'
./app/models/user.rb:927:in `run_with_user'
./app/jobs/publisher_job.rb:37:in `as_publisher_robot'
./app/jobs/publisher_job.rb:29:in `perform'
./app/jobs/publisher_job.rb:15:in `block in perform'
./lib/publication/lock.rb:16:in `acquire'
./app/jobs/publisher_job.rb:13:in `perform'
./lib/resque_runner.rb:25:in `block (2 levels) in work_queues'
./lib/resque_runner.rb:22:in `each'
./lib/resque_runner.rb:22:in `block in work_queues'
./lib/resque_runner.rb:18:in `loop'
./lib/resque_runner.rb:18:in `work_queues'
./features/support/dsl/resque_dsl.rb:8:in `block in run_resque_jobs'
./app/models/user.rb:927:in `run_with_user'
./features/support/dsl/resque_dsl.rb:7:in `run_resque_jobs'
./features/step_definitions/common_steps.rb:16:in `/^resque\ jobs\ are\ run$/'
features/creator/lesson_management.feature:387:in `And resque jobs are run'
expected: "GRID_ITEM_ID"
got: "" (using ==) (RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/creator/response_steps.rb:129:in `/^the response should( not)? have "([^"]*)" set to "(.*)"$/'
features/creator/lesson_management.feature:534:in `And the response should have "steps/0/grid_items/0/id" set to "GRID_ITEM_ID"'
undefined method `has_key?' for nil:NilClass (NoMethodError)
./app/models/creator/adapt_client_content_style.rb:47:in `block in extract_content_attributes'
./app/models/creator/adapt_client_content_style.rb:45:in `collect'
./app/models/creator/adapt_client_content_style.rb:45:in `extract_content_attributes'
./app/models/creator/adapt_client_content_style.rb:23:in `block in call'
./app/models/creator/adapt_client_content_style.rb:39:in `block (3 levels) in each_grid_item_in'
./app/models/creator/adapt_client_content_style.rb:39:in `each'
./app/models/creator/adapt_client_content_style.rb:39:in `block (2 levels) in each_grid_item_in'
./app/models/creator/adapt_client_content_style.rb:37:in `each'
./app/models/creator/adapt_client_content_style.rb:37:in `block in each_grid_item_in'
./app/models/creator/adapt_client_content_style.rb:35:in `each'
./app/models/creator/adapt_client_content_style.rb:35:in `each_grid_item_in'
./app/models/creator/adapt_client_content_style.rb:22:in `call'
./app/controllers/creator/lessons_controller.rb:53:in `update'
/Users/pwnela/.rubies/ruby-2.0.0-p451/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
./app/middleware/ds_auth_validator.rb:30:in `call'
./app/middleware/strip_api.rb:4:in `call'
./features/support/helper.rb:12:in `api_request'
./features/step_definitions/creator/request_steps.rb:23:in `/^I (get|post|put|delete)(?: to)? "([^"]*)" with:$/i'
./features/step_definitions/creator/request_steps.rb:37:in `/^I (get|post|put|delete)(?: to)? "([^"]*)" with attributes:$/i'
features/creator/lesson_management.feature:587:in `When I put to "/creator/lessons/LESSON_ID.json" with attributes:'
Failing Scenarios:
cucumber features/creator/lesson_management.feature:342 # Scenario: Remove a grid item from a published lesson
cucumber features/creator/lesson_management.feature:465 # Scenario: Updating deeply nested attributes for a lesson
cucumber features/creator/lesson_management.feature:546 # Scenario: Updates a lesson with subdocuments with translations
23 scenarios (3 failed, 20 passed)
196 steps (3 failed, 26 skipped, 167 passed)
0m13.234s
➜ intersect git:(pamela_overman/try-strong-params-workaround) ✗ bundle exec cucumber features/creator/lesson_management.feature
Resque::Helpers will be gone with no replacement in Resque 2.0.0.
Resque::Helpers will be gone with no replacement in Resque 2.0.0.
Resque::Helpers will be gone with no replacement in Resque 2.0.0.
Resque::Helpers will be gone with no replacement in Resque 2.0.0.
Resque::Helpers will be gone with no replacement in Resque 2.0.0.
Using the default profile...
.....................................................................................................................................................................................................
23 scenarios (23 passed)
196 steps (196 passed)
0m12.710s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment