1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

switch syntax for jruby

This commit is contained in:
Mike Perham 2016-02-04 10:40:46 -08:00
parent ec1b38eb5b
commit 6d40b4b9e5

View file

@ -128,7 +128,7 @@ class TestRetryExhausted < Sidekiq::Test
exhausted_job = nil
exhausted_exception = nil
Sidekiq.default_retries_exhausted = -> (job, ex) do
Sidekiq.default_retries_exhausted = lambda do |job, ex|
exhausted_job = job
exhausted_exception = ex
end