From 34d1947e27c5c6171aee87eb2b20d48d731e6eed Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev <156273877+p-datadog@users.noreply.github.com> Date: Wed, 13 Nov 2024 13:41:07 -0500 Subject: [PATCH] DEBUG-2334 remove unused method stubs from DI test suite (#4107) Co-authored-by: Oleg Pudeyev --- spec/datadog/di/probe_notification_builder_spec.rb | 1 - spec/datadog/di/redactor_spec.rb | 1 - spec/datadog/di/serializer_helper.rb | 1 - 3 files changed, 3 deletions(-) diff --git a/spec/datadog/di/probe_notification_builder_spec.rb b/spec/datadog/di/probe_notification_builder_spec.rb index 7cbd5e0f603..7d1b0804703 100644 --- a/spec/datadog/di/probe_notification_builder_spec.rb +++ b/spec/datadog/di/probe_notification_builder_spec.rb @@ -23,7 +23,6 @@ let(:di_settings) do double("di settings").tap do |settings| allow(settings).to receive(:enabled).and_return(true) - allow(settings).to receive(:propagate_all_exceptions).and_return(false) allow(settings).to receive(:redacted_identifiers).and_return([]) allow(settings).to receive(:redacted_type_names).and_return(%w[]) allow(settings).to receive(:max_capture_collection_size).and_return(10) diff --git a/spec/datadog/di/redactor_spec.rb b/spec/datadog/di/redactor_spec.rb index 8e8f28be4ae..db10d059ac8 100644 --- a/spec/datadog/di/redactor_spec.rb +++ b/spec/datadog/di/redactor_spec.rb @@ -39,7 +39,6 @@ class DoubleColonWildCardType; end let(:di_settings) do double("di settings").tap do |settings| allow(settings).to receive(:enabled).and_return(true) - allow(settings).to receive(:propagate_all_exceptions).and_return(false) allow(settings).to receive(:redacted_identifiers).and_return([]) end end diff --git a/spec/datadog/di/serializer_helper.rb b/spec/datadog/di/serializer_helper.rb index 0559193e268..8251ef34223 100644 --- a/spec/datadog/di/serializer_helper.rb +++ b/spec/datadog/di/serializer_helper.rb @@ -43,7 +43,6 @@ def default_settings let(:di_settings) do double("di settings").tap do |settings| allow(settings).to receive(:enabled).and_return(true) - allow(settings).to receive(:propagate_all_exceptions).and_return(false) allow(settings).to receive(:redacted_identifiers).and_return([]) allow(settings).to receive(:redacted_type_names).and_return(%w[ DISerializerSpecSensitiveType DISerializerSpecWildCard*