rails/activejob/test/cases/adapter_test.rb

8 lines
250 B
Ruby
Raw Normal View History

require "helper"
2014-05-18 20:59:12 +00:00
class AdapterTest < ActiveSupport::TestCase
test "should load #{ENV['AJ_ADAPTER']} adapter" do
assert_equal "active_job/queue_adapters/#{ENV['AJ_ADAPTER']}_adapter".classify, ActiveJob::Base.queue_adapter.class.name
2014-05-20 11:03:46 +00:00
end
2014-05-18 20:59:12 +00:00
end