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*