class RSpec::Mocks::MethodDouble

def remove_single_stub(stub)

Other tags:
    Private: -
def remove_single_stub(stub)
  stubs.delete(stub)
  restore_original_method if stubs.empty? && expectations.empty?
end