aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/adapters/async.rb
blob: df580275991215a57c8e7540bf561cc7acc833b3 (plain) (blame)
1
2
3
4
5
require 'concurrent'
require 'active_job/async_job'

ActiveJob::Base.queue_adapter = :async
ActiveJob::AsyncJob.perform_immediately!