diff options
-rw-r--r-- | test/adapters/delayed_job.rb | 2 | ||||
-rw-r--r-- | test/cases/adapter_test.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/adapters/delayed_job.rb b/test/adapters/delayed_job.rb index 2055a6b6e6..f334437a9e 100644 --- a/test/adapters/delayed_job.rb +++ b/test/adapters/delayed_job.rb @@ -3,4 +3,4 @@ $LOAD_PATH << File.dirname(__FILE__) + "/../support/delayed_job" Delayed::Worker.delay_jobs = false Delayed::Worker.backend = :test -ActiveJob::Base.adapter = :delayed_job +ActiveJob::Base.queue_adapter = :delayed_job diff --git a/test/cases/adapter_test.rb b/test/cases/adapter_test.rb index cdc601b06a..05efdc33e9 100644 --- a/test/cases/adapter_test.rb +++ b/test/cases/adapter_test.rb @@ -26,7 +26,7 @@ class AdapterTest < ActiveSupport::TestCase end test 'should load delayed_job adapter' do - ActiveJob::Base.adapter = :delayed_job + ActiveJob::Base.queue_adapter = :delayed_job assert_equal ActiveJob::QueueAdapters::DelayedJobAdapter, ActiveJob::Base.queue_adapter end |