aboutsummaryrefslogblamecommitdiffstats
path: root/activejob/test/cases/adapter_test.rb
blob: 4fc235ae4051c973088913ed2866858b1e2f0e2a (plain) (tree)
1
2
3
4
5
6
7
8


                                           


                                                                                                                            
     
   
require 'helper'

class AdapterTest < ActiveSupport::TestCase
  test "should load #{ENV['AJADAPTER']} adapter" do
    ActiveJob::Base.queue_adapter = ENV['AJADAPTER'].to_sym
    assert_equal ActiveJob::Base.queue_adapter, "active_job/queue_adapters/#{ENV['AJADAPTER']}_adapter".classify.constantize
  end
end