Stubbing and Setting Expectations on HTTP Requests Is Now Easy With WebMock Use Webmock to mock HTTP requests to external services in a simple and predictable way.