WebMock for Stubbing and Setting Expectations on HTTP Requests
Version 1.3.0 of WebMock is available now.
WebMock is a library for stubbing HTTP requests and setting expectations on HTTP requests in Ruby. With WebMock, developers can match requests based on method, URI, headers and body, and match the same headers in different representations. Test::Unit, RSpec 1.x and RSpec 2.x are all supported.