Skip to content

Commit

Permalink
[PROF-8667] Go back to using an instance_double but with string.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexJF committed Dec 13, 2023
1 parent 4ab10c2 commit b02a143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/datadog/core/configuration/components_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b02a143

Please sign in to comment.