WebMock v1.10.0 Release Notes
-
- '+' in query params is not treated as space anymore and is encoded as %2B
Thanks to goblin for reporting this issue.
added
remove_request_stub
method to the api to allow removing unused stubs i.e.stub_get = stub_request(:get, "www.example.com") remove_request_stub(stub_get)
assert_requested
andassert_not_requested
raise an error if a stub object is provided together with a block.