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
- Double quotes on snippet output
- add expect_request to mirror mocha api
- certains asserts for minitest don't work well under JRuby
- "You can stub this request with" formats badly within minitest assert_raises
- Escaping of `hash_including` goes wrong.
- net_http_connect_on_start: true does not correctly stub out URLs if it cannot be resolved by the DNS
- Nested hash_including not working properly along with RSpec
- Include documentation RegEx hash_including matcher
- webmock must be fully enabled after disabling for disable_net_connect to work
- including webmock/rspec in any spec file results in all specs having web disabled
- 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?