WebMock v0.8.0 Release Notes
-
- Support for HTTPClient (sync and async requests)
- Support for dynamic responses. Response body and headers can be now declared as lambda. (Thanks to Ivan Vega ( @ivanyv ) for suggesting this feature)
- Support for stubbing and expecting requests with empty body
- Executing non-stubbed request leads to failed expectation instead of error
🐛 Bug fixes
- Basic authentication now works correctly
- Fixed problem where WebMock didn't call a block with the response when block was provided
- Fixed problem where uris with single slash were not matching uris without path provided