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. Bartosz Blimke November 24, 2009 rspec ruby testing new bamboo web