From b02a143affd8ead58e6b0fab7ba24d7999ce58e1 Mon Sep 17 00:00:00 2001 From: Alexandre Fonseca Date: Wed, 13 Dec 2023 11:27:21 +0000 Subject: [PATCH] [PROF-8667] Go back to using an instance_double but with string. --- spec/datadog/core/configuration/components_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/datadog/core/configuration/components_spec.rb b/spec/datadog/core/configuration/components_spec.rb index 2c85e5ac1bc..39b9d2a83bc 100644 --- a/spec/datadog/core/configuration/components_spec.rb +++ b/spec/datadog/core/configuration/components_spec.rb @@ -1072,7 +1072,7 @@ context 'is enabled' do # Using a generic double rather than instance_double since if profiling is not supported by the # current CI runner we won't even load the Datadog::Profiling::Profiler class. - let(:profiler) { double } + let(:profiler) { instance_double('Datadog::Profiling::Profiler') } before do allow(settings.profiling)