diff options
Diffstat (limited to 'test/jobs/hello_job.rb')
-rw-r--r-- | test/jobs/hello_job.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |