aboutsummaryrefslogtreecommitdiffstats
path: root/test/adapters/sucker_punch.rb
diff options
context:
space:
mode:
authorAbdelkader Boudih <terminale@gmail.com>2014-05-18 20:59:12 +0000
committerAbdelkader Boudih <terminale@gmail.com>2014-05-18 20:59:12 +0000
commit91461dc7a9f0aa879cfff503ea2fdb9a71e0277e (patch)
tree75ba9ac32f1bc59b490f096d61dc8012f3daae8a /test/adapters/sucker_punch.rb
parent68543de83612049e3254f7243b575039f102cd49 (diff)
downloadrails-91461dc7a9f0aa879cfff503ea2fdb9a71e0277e.tar.gz
rails-91461dc7a9f0aa879cfff503ea2fdb9a71e0277e.tar.bz2
rails-91461dc7a9f0aa879cfff503ea2fdb9a71e0277e.zip
Lazy-load adapters, fixes #6
Diffstat (limited to 'test/adapters/sucker_punch.rb')
-rw-r--r--test/adapters/sucker_punch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/adapters/sucker_punch.rb b/test/adapters/sucker_punch.rb
index a373552262..8ce9a902b6 100644
--- a/test/adapters/sucker_punch.rb
+++ b/test/adapters/sucker_punch.rb
@@ -1,2 +1,2 @@
require 'sucker_punch/testing/inline'
-ActiveJob::Base.queue_adapter = ActiveJob::QueueAdapters::SuckerPunchAdapter
+ActiveJob::Base.adapter = :sucker_punch