aboutsummaryrefslogtreecommitdiffstats
path: root/test/cases/rescue_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/cases/rescue_test.rb')
-rw-r--r--test/cases/rescue_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cases/rescue_test.rb b/test/cases/rescue_test.rb
index ca4c69f91b..a91ed01f45 100644
--- a/test/cases/rescue_test.rb
+++ b/test/cases/rescue_test.rb
@@ -10,7 +10,7 @@ class RescueTest < ActiveSupport::TestCase
test 'rescue perform exception with retry' do
job = RescueJob.new
- job.perform_with_hooks("david")
+ job.execute("david")
assert_equal [ "rescued from StandardError", "performed beautifully" ], $BUFFER
end
end