Skip to content

Conversation

@aisrael
Copy link

@aisrael aisrael commented Jun 8, 2018

Added WebMock.consume_after_match and WebMock#consume_stub to allow WebMock to discard a stub after it's matched and used. Fixes #20

felixbuenemann and others added 3 commits July 21, 2018 15:22
When calling `HTTP::Client#exec` with an `HTTP::Request` instance the
Host header is not automatically filled by the http client, so we need
to add it manually or the `host_matches?` check in the stub will fail
with a `KeyError` exception.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants