aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/jobs/hello_job.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activejob/test/jobs/hello_job.rb')
-rw-r--r--activejob/test/jobs/hello_job.rb5
1 files changed, 5 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..25441dd0c8
--- /dev/null
+++ b/activejob/test/jobs/hello_job.rb
@@ -0,0 +1,5 @@
+class HelloJob < ActiveJob::Base
+ def perform(greeter = "David")
+ $BUFFER << "#{greeter} says hello"
+ end
+end