From 85152a26a1d4dc9598e383e23b2070a034506796 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 22 May 2024 16:19:13 +0200 Subject: [PATCH] do not use fully qualified name for KnapsackPro::Runner --- lib/datadog/ci/contrib/rspec/knapsack_pro/patcher.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/datadog/ci/contrib/rspec/knapsack_pro/patcher.rb b/lib/datadog/ci/contrib/rspec/knapsack_pro/patcher.rb index b66ac1c6..3346f6da 100644 --- a/lib/datadog/ci/contrib/rspec/knapsack_pro/patcher.rb +++ b/lib/datadog/ci/contrib/rspec/knapsack_pro/patcher.rb @@ -11,7 +11,7 @@ def self.patch ::RSpec::Core::Runner.ancestors.include?(::KnapsackPro::Extensions::RSpecExtension::Runner) # knapsack already patched rspec runner require_relative "runner" - ::RSpec::Core::Runner.include(Datadog::CI::Contrib::RSpec::KnapsackPro::Runner) + ::RSpec::Core::Runner.include(KnapsackPro::Runner) else # knapsack didn't patch rspec runner yet require_relative "extension"