From 39da4d89b345124107d29c722088908396fc8d83 Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Tue, 12 Nov 2024 21:35:26 -0500 Subject: [PATCH] DEBUG-2334 remove unused method stubs from DI test suite --- 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 7cbd5e0f60..7d1b080470 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 8e8f28be4a..db10d059ac 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 0559193e26..8251ef3422 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*