Remove a request stub
See also
Other stub-registry:
StubRegistry
,
stub_registry()
,
stub_registry_clear()
Examples
(x <- stub_request("get", "https://httpbin.org/get"))
#> <webmockr stub>
#> method: get
#> uri: https://httpbin.org/get
#> with:
#> query:
#> body:
#> request_headers:
#> to_return:
stub_registry()
#> <webmockr stub registry>
#> Registered Stubs
#> GET: https://httpbin.org/get
remove_request_stub(x)
stub_registry()
#> <webmockr stub registry>
#> Registered Stubs