From 25a4155257cd463355bccb4330b0280e4110de9e Mon Sep 17 00:00:00 2001 From: Jerry D'Antonio Date: Sat, 15 Aug 2015 23:41:33 -0400 Subject: Initial implementation of ActiveJob AsyncAdapter. --- activejob/test/support/integration/adapters/async.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 activejob/test/support/integration/adapters/async.rb (limited to 'activejob/test/support') diff --git a/activejob/test/support/integration/adapters/async.rb b/activejob/test/support/integration/adapters/async.rb new file mode 100644 index 0000000000..42beb12b1f --- /dev/null +++ b/activejob/test/support/integration/adapters/async.rb @@ -0,0 +1,9 @@ +module AsyncJobsManager + def setup + ActiveJob::Base.queue_adapter = :async + end + + def clear_jobs + ActiveJob::AsyncJob::QUEUES.clear + end +end -- cgit v1.2.3