Skip to content

Commit

Permalink
do not use fully qualified name for KnapsackPro::Runner
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed May 22, 2024
1 parent 25bf96c commit 85152a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datadog/ci/contrib/rspec/knapsack_pro/patcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 85152a2

Please sign in to comment.