rails/activejob/test/adapters/delayed_job.rb

7 lines
182 B
Ruby

ActiveJob::Base.queue_adapter = :delayed_job
$LOAD_PATH << File.dirname(__FILE__) + "/../support/delayed_job"
Delayed::Worker.delay_jobs = false
Delayed::Worker.backend = :test