class RSpec::Mocks::ErrorGenerator
def raise_expectation_on_mocked_method(method)
- Private: -
def raise_expectation_on_mocked_method(method) __raise "#{intro} expected to have received #{method}, but that " + "method has been mocked instead of stubbed." end