aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_job/queue_adapters/sneakers_adapter.rb
diff options
context:
space:
mode:
authorCristian Bica <cristian.bica@gmail.com>2014-08-05 09:05:14 +0300
committerCristian Bica <cristian.bica@gmail.com>2014-08-08 10:52:16 +0300
commit664546c208c406bba08b8eda2e6a600154d7232e (patch)
tree5a4c62c14e115ff4ee05212664bb2ff5b8595c38 /lib/active_job/queue_adapters/sneakers_adapter.rb
parent06ccd5f405a004275915102eb3ccc42b952ba549 (diff)
downloadrails-664546c208c406bba08b8eda2e6a600154d7232e.tar.gz
rails-664546c208c406bba08b8eda2e6a600154d7232e.tar.bz2
rails-664546c208c406bba08b8eda2e6a600154d7232e.zip
Integration testing
Diffstat (limited to 'lib/active_job/queue_adapters/sneakers_adapter.rb')
-rw-r--r--lib/active_job/queue_adapters/sneakers_adapter.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/active_job/queue_adapters/sneakers_adapter.rb b/lib/active_job/queue_adapters/sneakers_adapter.rb
index 094b128547..051a8c3bd7 100644
--- a/lib/active_job/queue_adapters/sneakers_adapter.rb
+++ b/lib/active_job/queue_adapters/sneakers_adapter.rb
@@ -21,6 +21,7 @@ module ActiveJob
class JobWrapper
include Sneakers::Worker
+ from_queue 'active_jobs_default'
def work(msg)
job_name, *args = ActiveSupport::JSON.decode(msg)