mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
8 lines
309 B
Ruby
8 lines
309 B
Ruby
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
|