aboutsummaryrefslogtreecommitdiffstats
path: root/test/jobs/hello_job.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/jobs/hello_job.rb')
-rw-r--r--test/jobs/hello_job.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/jobs/hello_job.rb b/test/jobs/hello_job.rb
new file mode 100644
index 0000000000..d0e65f9674
--- /dev/null
+++ b/test/jobs/hello_job.rb
@@ -0,0 +1,5 @@
+class HelloJob < ActiveJob::Base
+ def self.perform(greeter = "David")
+ $BUFFER << "#{greeter} says hello"
+ end
+end