From d3ff144f89a1d42118f84f075fa3cc9b94fb190e Mon Sep 17 00:00:00 2001 From: Cristian Bica Date: Mon, 19 May 2014 00:47:35 +0300 Subject: Implemented delayed job --- test/adapters/delayed_job.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/adapters/delayed_job.rb (limited to 'test/adapters') diff --git a/test/adapters/delayed_job.rb b/test/adapters/delayed_job.rb new file mode 100644 index 0000000000..2055a6b6e6 --- /dev/null +++ b/test/adapters/delayed_job.rb @@ -0,0 +1,6 @@ +require 'delayed_job' +$LOAD_PATH << File.dirname(__FILE__) + "/../support/delayed_job" + +Delayed::Worker.delay_jobs = false +Delayed::Worker.backend = :test +ActiveJob::Base.adapter = :delayed_job -- cgit v1.2.3