From eed52c8808fceb0004e488f77f0bc6904f7aaddf Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 18 May 2014 13:11:00 +0200 Subject: Add ResqueAdapter and provide test infrastructure for the now multiple adapters --- test/jobs/hello_job.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/jobs') diff --git a/test/jobs/hello_job.rb b/test/jobs/hello_job.rb index d0e65f9674..469123fe0a 100644 --- a/test/jobs/hello_job.rb +++ b/test/jobs/hello_job.rb @@ -1,4 +1,6 @@ class HelloJob < ActiveJob::Base + @queue = :greetings + def self.perform(greeter = "David") $BUFFER << "#{greeter} says hello" end -- cgit v1.2.3