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
- Unable to stub_request with a trailing dot.
- [Proposal] Create matcher to match request params and headers
- Conflict with rack-proxy (undefined method `closed?' for nil:NilClass)
- HTTP instrumentation not fully working
- can't modify frozen String: ""
- `disable_net_connect!` affects subsequent Capybara test even if WebMock is disabled
- Improvement: Make WebMock ignore the last slash (/) in URLs
- `WebMock::Util::Headers.normalize_headers` downcases characters in header keys
- Broken on ruby 2.7
- NameError when stubbing with body
- Docs
- WebMock::RackResponse#header_value
- WebMock::URIPattern#raise_any_query_with_uri_query
- WebMock::RSpecMatcherDetector#rSpecAnyArgMatcher?
- WebMock::Matchers::AnyArgMatcher#inspect
- WebMock::HttpLibAdapters::TyphoeusAdapter.effective_url
- WebMock::HttpLibAdapters::TyphoeusAdapter.response_headers_string
- WebMock::HttpLibAdapters::NetHttpAdapter.enabled?
- WebMock.net_connect_allowed_url?
- WebMock::RequestStub#json_response_body
- WebMock::RequestPattern#with_block