aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/jobs/gid_job.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activejob/test/jobs/gid_job.rb')
-rw-r--r--activejob/test/jobs/gid_job.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/activejob/test/jobs/gid_job.rb b/activejob/test/jobs/gid_job.rb
new file mode 100644
index 0000000000..e485bfa2dd
--- /dev/null
+++ b/activejob/test/jobs/gid_job.rb
@@ -0,0 +1,8 @@
+require_relative '../support/job_buffer'
+
+class GidJob < ActiveJob::Base
+ def perform(person)
+ JobBuffer.add("Person with ID: #{person.id}")
+ end
+end
+