aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/jobs/rescue_job.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activejob/test/jobs/rescue_job.rb')
-rw-r--r--activejob/test/jobs/rescue_job.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/test/jobs/rescue_job.rb b/activejob/test/jobs/rescue_job.rb
index 6b6e74e9d0..f1b9c9349e 100644
--- a/activejob/test/jobs/rescue_job.rb
+++ b/activejob/test/jobs/rescue_job.rb
@@ -6,7 +6,7 @@ class RescueJob < ActiveJob::Base
rescue_from(ArgumentError) do
JobBuffer.add('rescued from ArgumentError')
arguments[0] = "DIFFERENT!"
- retry_now
+ retry_job
end
rescue_from(ActiveJob::DeserializationError) do |e|