aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/adapters/delayed_job.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activejob/test/adapters/delayed_job.rb')
-rw-r--r--activejob/test/adapters/delayed_job.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/activejob/test/adapters/delayed_job.rb b/activejob/test/adapters/delayed_job.rb
new file mode 100644
index 0000000000..afd9c9deb7
--- /dev/null
+++ b/activejob/test/adapters/delayed_job.rb
@@ -0,0 +1,7 @@
+ActiveJob::Base.queue_adapter = :delayed_job
+
+$LOAD_PATH << File.dirname(__FILE__) + "/../support/delayed_job"
+
+Delayed::Worker.delay_jobs = false
+Delayed::Worker.backend = :test
+