Module: RSpec::Core::MockingAdapters::RR Private
Do not use. This module is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
self,
RR::Extensions::InstanceMethods
|
|
Defined in: | rspec-core/lib/rspec/core/mocking_adapters/rr.rb |
Class Method Summary
- .framework_name Internal use only
Instance Method Summary
- #setup_mocks_for_rspec Internal use only
- #teardown_mocks_for_rspec Internal use only
- #verify_mocks_for_rspec Internal use only
Class Method Details
.framework_name
[ GitHub ]# File 'rspec-core/lib/rspec/core/mocking_adapters/rr.rb', line 11
def self.framework_name :rr end
Instance Method Details
#setup_mocks_for_rspec
[ GitHub ]# File 'rspec-core/lib/rspec/core/mocking_adapters/rr.rb', line 17
def setup_mocks_for_rspec ::RR::Space.instance.reset end
#teardown_mocks_for_rspec
[ GitHub ]# File 'rspec-core/lib/rspec/core/mocking_adapters/rr.rb', line 25
def teardown_mocks_for_rspec ::RR::Space.instance.reset end
#verify_mocks_for_rspec
[ GitHub ]# File 'rspec-core/lib/rspec/core/mocking_adapters/rr.rb', line 21
def verify_mocks_for_rspec ::RR::Space.instance.verify_doubles end