webmock
https://github.com/bblimke/webmock
Ruby
Library for stubbing and setting expectations on HTTP requests in Ruby.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
10 Subscribers
Add a CodeTriage badge to webmock
Help out
- Issues
- Add support for NetHttp2 adapter
- ** IT'S BEEN A YEAR SINCE THE LAST RELEASE ON RUBYGEMS **
- Setting rack.session to hash by default when using to_rack
- Cannot stub `OPTIONS *` requests
- Repeat Content-Length header when making requests with EM-HTTP-Request
- [Bug] Stub is still counted even after being removed
- `allow` doesn't match when url is https and includes path, because Addressable::URI#to_s includes port in the string
- Allow matching urls w/ default port and path
- WARNING: There appears to be a bug in WebMock's after_request hook and VCR is attempting to work around it. Some VCR features may not work properly.
- Is there a verbose mode?
- Docs
- WebMock::Util::Parsers::XML.parse
- WebMock::Util::Parsers::JSON.convert_json_to_yaml
- WebMock::Util::Parsers::JSON.unescape
- WebMock::Util::Parsers::JSON.parse
- HTTP::Response::Streamer#finished_request?
- Async::HTTP::WebMockEndpoint#socket_class
- WebMockHTTPClients#clear_thread_variables
- HTTP::Response#reset_body_to_allow_it_to_be_streamed!
- HTTP::Response.build_http_rb_response_body_from_webmock_response
- Tag#trendable?