diff options
Diffstat (limited to 'activejob/test/jobs/hello_job.rb')
-rw-r--r-- | activejob/test/jobs/hello_job.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activejob/test/jobs/hello_job.rb b/activejob/test/jobs/hello_job.rb new file mode 100644 index 0000000000..022fa58e4a --- /dev/null +++ b/activejob/test/jobs/hello_job.rb @@ -0,0 +1,7 @@ +require_relative '../support/job_buffer' + +class HelloJob < ActiveJob::Base + def perform(greeter = "David") + JobBuffer.add("#{greeter} says hello") + end +end |