Module: Datadog::CI::Contrib::RSpec::Patcher

Includes:
Patcher
Defined in:
lib/datadog/ci/contrib/rspec/patcher.rb

Overview

Patcher enables patching of ‘rspec’ module.

Class Method Summary collapse

Methods included from Patcher

included

Class Method Details

.patchObject



19
20
21
22
23
# File 'lib/datadog/ci/contrib/rspec/patcher.rb', line 19

def patch
  ::RSpec::Core::Runner.include(Runner)
  ::RSpec::Core::Example.include(Example)
  ::RSpec::Core::ExampleGroup.include(ExampleGroup)
end