Module: RR::Adapters::Rspec
- Defined in:
- lib/rr/deprecations.rb
Class Method Summary collapse
Class Method Details
.const_missing(name) ⇒ Object
28 29 30 31 32 33 34 35 36 37 38 39 40 |
# 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 |