Skip to content

Commit

Permalink
and_call_original fix in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Robgra13 committed Oct 28, 2024
1 parent 8096821 commit e348920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/sidekiq_poison_pill_remedy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

allow_any_instance_of(Sidekiq::DeadSet).to receive(:find_job).with(enqueue_job).and_return(job)
allow(Sentry).to receive(:capture_message).and_call_original
allow(Sidekiq.logger).to receive(:fatal)
allow(Sidekiq.logger).to receive(:fatal).and_call_original
end

context "when the job is a poison pill in non-poison pill queue" do
Expand Down

0 comments on commit e348920

Please sign in to comment.