diff options
author | Mike Perham <mperham@gmail.com> | 2014-05-20 09:13:28 -0700 |
---|---|---|
committer | Mike Perham <mperham@gmail.com> | 2014-05-20 09:13:28 -0700 |
commit | 897f86b8d13cd0583dc5e579ed56c6f4064330db (patch) | |
tree | 8afff02f4bc42e2856feeb75d566fedf16cb0f88 /test/cases/adapter_test.rb | |
parent | 85880eb427191bdd46967ff3bacf95419df3ef7a (diff) | |
parent | 86a71b154ae16027cedda0d7878bee22195fe04d (diff) | |
download | rails-897f86b8d13cd0583dc5e579ed56c6f4064330db.tar.gz rails-897f86b8d13cd0583dc5e579ed56c6f4064330db.tar.bz2 rails-897f86b8d13cd0583dc5e579ed56c6f4064330db.zip |
merge master
Diffstat (limited to 'test/cases/adapter_test.rb')
-rw-r--r-- | test/cases/adapter_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/cases/adapter_test.rb b/test/cases/adapter_test.rb index 1a08fa2617..703058dacb 100644 --- a/test/cases/adapter_test.rb +++ b/test/cases/adapter_test.rb @@ -43,4 +43,9 @@ class AdapterTest < ActiveSupport::TestCase ActiveJob::Base.queue_adapter = :sneakers assert_equal ActiveJob::QueueAdapters::SneakersAdapter, ActiveJob::Base.queue_adapter end + + test 'should load Backburner adapter' do + ActiveJob::Base.queue_adapter = :backburner + assert_equal ActiveJob::QueueAdapters::BackburnerAdapter, ActiveJob::Base.queue_adapter + end end |