diff options
Diffstat (limited to 'test/cases/adapter_test.rb')
-rw-r--r-- | test/cases/adapter_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/cases/adapter_test.rb b/test/cases/adapter_test.rb index c51130bc15..cdc601b06a 100644 --- a/test/cases/adapter_test.rb +++ b/test/cases/adapter_test.rb @@ -6,22 +6,22 @@ class AdapterTest < ActiveSupport::TestCase end test 'should load inline adapter' do - ActiveJob::Base.adapter = :inline + ActiveJob::Base.queue_adapter = :inline assert_equal ActiveJob::QueueAdapters::InlineAdapter, ActiveJob::Base.queue_adapter end test 'should load resque adapter' do - ActiveJob::Base.adapter = :resque + ActiveJob::Base.queue_adapter = :resque assert_equal ActiveJob::QueueAdapters::ResqueAdapter, ActiveJob::Base.queue_adapter end test 'should load sidekiq adapter' do - ActiveJob::Base.adapter = :sidekiq + ActiveJob::Base.queue_adapter = :sidekiq assert_equal ActiveJob::QueueAdapters::SidekiqAdapter, ActiveJob::Base.queue_adapter end test 'should load sucker punch adapter' do - ActiveJob::Base.adapter = :sucker_punch + ActiveJob::Base.queue_adapter = :sucker_punch assert_equal ActiveJob::QueueAdapters::SuckerPunchAdapter, ActiveJob::Base.queue_adapter end |