aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/support/integration/adapters/async.rb
blob: 42beb12b1f6a0205add3066af46f2abfea1bb0d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
module AsyncJobsManager
  def setup
    ActiveJob::Base.queue_adapter = :async
  end

  def clear_jobs
    ActiveJob::AsyncJob::QUEUES.clear
  end
end