Module: NotAMock::RspecMockFrameworkAdapter

Defined in:
lib/not_a_mock/rspec_mock_framework_adapter.rb

Instance Method Summary collapse

Instance Method Details

#setup_mocks_for_rspecObject



4
5
# File 'lib/not_a_mock/rspec_mock_framework_adapter.rb', line 4

def setup_mocks_for_rspec
end

#teardown_mocks_for_rspecObject



10
11
12
13
# File 'lib/not_a_mock/rspec_mock_framework_adapter.rb', line 10

def teardown_mocks_for_rspec
  NotAMock::CallRecorder.instance.reset
  NotAMock::Stubber.instance.reset
end

#verify_mocks_for_rspecObject



7
8
# File 'lib/not_a_mock/rspec_mock_framework_adapter.rb', line 7

def verify_mocks_for_rspec
end