diff options
| author | mo <mo@mokhan.ca> | 2018-05-07 14:29:04 -0600 |
|---|---|---|
| committer | mo <mo@mokhan.ca> | 2018-05-07 14:29:04 -0600 |
| commit | 2c5b1698b2d3cbed1df2bd17c67622f4e415286d (patch) | |
| tree | d39a0a60debabde5a13a8f982cfc162893e2a14a /test/fixtures/post_breaches.yml | |
| parent | 14ea3230db9f0cff4d976cceace10072fa185bd8 (diff) | |
add spec for post and put.
Diffstat (limited to 'test/fixtures/post_breaches.yml')
| -rw-r--r-- | test/fixtures/post_breaches.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/fixtures/post_breaches.yml b/test/fixtures/post_breaches.yml new file mode 100644 index 0000000..936b7dd --- /dev/null +++ b/test/fixtures/post_breaches.yml @@ -0,0 +1,24 @@ +--- +http_interactions: +- request: + method: post + uri: https://haveibeenpwned.com/api/breaches + body: + encoding: UTF-8 + string: "{}" + headers: + Accept: + - application/vnd.haveibeenpwned.v2+json + response: + status: + code: 201 + message: Created + headers: + Content-Type: + - application/json; charset=utf-8 + body: + encoding: UTF-8 + string: '{"Message":"Congratulations!"}' + http_version: + recorded_at: Mon, 07 May 2018 20:21:13 GMT +recorded_with: VCR 4.0.0 |
