diff options
-rw-r--r-- | test/adapters/delayed_job.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/adapters/delayed_job.rb b/test/adapters/delayed_job.rb index c5d9fd37ab..afd9c9deb7 100644 --- a/test/adapters/delayed_job.rb +++ b/test/adapters/delayed_job.rb @@ -1,7 +1,7 @@ -require 'delayed_job' +ActiveJob::Base.queue_adapter = :delayed_job + $LOAD_PATH << File.dirname(__FILE__) + "/../support/delayed_job" Delayed::Worker.delay_jobs = false Delayed::Worker.backend = :test -ActiveJob::Base.queue_adapter = :delayed_job |