lib/isolator/adapters/background_jobs/sidekiq.rb in isolator-0.1.0.pre2 vs lib/isolator/adapters/background_jobs/sidekiq.rb in isolator-0.1.0

- old
+ new

@@ -1,4 +1,6 @@ # frozen_string_literal: true -Isolator.isolate :sidekiq, Sidekiq::Client, - :push, exception_class: Isolator::BackgroundJobError +Isolator.isolate :sidekiq, + target: Sidekiq::Client, + method_name: :raw_push, + exception_class: Isolator::BackgroundJobError