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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/test/jobs/hello_job.rb b/activejob/test/jobs/hello_job.rb
index cb067bbe69..4c6256af0d 100644
--- a/activejob/test/jobs/hello_job.rb
+++ b/activejob/test/jobs/hello_job.rb
@@ -1,5 +1,5 @@
class HelloJob < ActiveJob::Base
def perform(greeter = "David")
- Thread.current[:ajbuffer] << "#{greeter} says hello"
+ JobBuffer.add("#{greeter} says hello")
end
end