Today I spent time with this, and I think I have a solution.
Here's an updated Gist that eliminates the need for WorkerBase.
It also includes the configuration changes needed to get the job to work (identical to the changes you discovered).
In the Cucumber features/support/env.rb environment file
After:
require 'cucumber/rails'
Add
require 'lib/cucumber_external_resque_worker' CucumberExternalResqueWorker.start
Edit:
DatabaseCleaner.strategy = :transaction
in
DatabaseCleaner.strategy = :truncation
Also create a file: config/initializers/cucumber_external_resque.rb
require 'lib/cucumber_external_resque_worker' CucumberExternalResqueWorker.install_hooks_on_startup
source share