aboutsummaryrefslogtreecommitdiffstats
path: root/test/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'test/jobs')
-rw-r--r--test/jobs/gid_job.rb2
-rw-r--r--test/jobs/hello_job.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/jobs/gid_job.rb b/test/jobs/gid_job.rb
index c1bfbb2655..c69e38d3cc 100644
--- a/test/jobs/gid_job.rb
+++ b/test/jobs/gid_job.rb
@@ -1,5 +1,5 @@
class GidJob < ActiveJob::Base
- def self.perform(person)
+ def perform(person)
$BUFFER << "Person with ID: #{person.id}"
end
end
diff --git a/test/jobs/hello_job.rb b/test/jobs/hello_job.rb
index d0e65f9674..25441dd0c8 100644
--- a/test/jobs/hello_job.rb
+++ b/test/jobs/hello_job.rb
@@ -1,5 +1,5 @@
class HelloJob < ActiveJob::Base
- def self.perform(greeter = "David")
+ def perform(greeter = "David")
$BUFFER << "#{greeter} says hello"
end
end