module KnapsackPro::Extensions::RSpecExtension

Facade to abstract calls to internal RSpec methods. To allow comparing the monkey patch with the original RSpec code, keep a similar method structure and permalink to the source.

Constants

Seed

Public Class Methods

setup!() click to toggle source
# File lib/knapsack_pro/extensions/rspec_extension.rb, line 10
def self.setup!
  RSpec::Core::World.prepend(World)
  RSpec::Core::Runner.prepend(Runner)
  RSpec::Core::Configuration.prepend(Configuration)
end