class RSpec::Mocks::MethodDouble
def remove_single_stub(stub)
- Private: -
def remove_single_stub(stub) stubs.delete(stub) restore_original_method if stubs.empty? && expectations.empty? end
def remove_single_stub(stub) stubs.delete(stub) restore_original_method if stubs.empty? && expectations.empty? end