1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activejob/test/adapters/async.rb
2015-08-25 14:22:11 -04:00

5 lines
133 B
Ruby

require 'concurrent'
require 'active_job/async_job'
ActiveJob::Base.queue_adapter = :async
ActiveJob::AsyncJob.perform_immediately!