Module: RR::Integrations::RSpec2::Mixin
- Defined in:
- lib/rr/integrations/rspec_2.rb
Instance Method Summary collapse
- #have_received(method = nil) ⇒ Object
- #setup_mocks_for_rspec ⇒ Object
- #teardown_mocks_for_rspec ⇒ Object
- #verify_mocks_for_rspec ⇒ Object
Instance Method Details
#have_received(method = nil) ⇒ Object
17 18 19 |
# File 'lib/rr/integrations/rspec_2.rb', line 17 def have_received(method = nil) RSpec::InvocationMatcher.new(method) end |
#setup_mocks_for_rspec ⇒ Object
5 6 7 |
# File 'lib/rr/integrations/rspec_2.rb', line 5 def setup_mocks_for_rspec RR.reset end |