We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbf2c9b commit 66546cdCopy full SHA for 66546cd
spec/spec_helper.rb
@@ -306,4 +306,4 @@ def initialize(*args, &block)
306
# Code tracking calls out to the current DI component, which may reference
307
# mock objects in the test suite. Disable it and tests that need code tracking
308
# will enable it back for themselves.
309
-Datadog::DI.deactivate_tracking!
+Datadog::DI.deactivate_tracking! if Datadog::DI.respond_to?(:deactivate_tracking!)
0 commit comments