module RR::Adapters::Rspec

Public Class Methods

const_missing(name) click to toggle source
Calls superclass method
# File lib/rr/deprecations.rb, line 28
def self.const_missing(name)
  if name == :InvocationMatcher
    # Old versions of the RSpec-2 adapter for RR floating out in the wild
    # still refer to this constant
    RR::Deprecations.constant_deprecated_in_favor_of(
      'RR::Adapters::Rspec::InvocationMatcher',
      'RR::Integrations::RSpec::InvocationMatcher'
    )
    RR::Integrations::RSpec::InvocationMatcher
  else
    super
  end
end