mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix for the new adapter setter
This commit is contained in:
parent
dc20f7d4d4
commit
935f53bd5a
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue