diff --git a/spec/sidekiq/rescue/dsl_spec.rb b/spec/sidekiq/rescue/dsl_spec.rb index a34772b..e534848 100644 --- a/spec/sidekiq/rescue/dsl_spec.rb +++ b/spec/sidekiq/rescue/dsl_spec.rb @@ -8,8 +8,8 @@ end end - def define_dsl(&block) - job_class.instance_eval(&block) + def define_dsl(...) + job_class.instance_eval(...) end describe "#sidekiq_rescue" do