spec/support/pact.json in pact-provider-proxy-2.2.0 vs spec/support/pact.json in pact-provider-proxy-2.3.0
- old
+ new
@@ -4,13 +4,20 @@
"interactions": [
{
"description": "a request for the index",
"provider_state": "some state",
"request" : {
- "method" : "get", "path": "/"
- },
+ "method" : "get",
+ "path": "/",
+ "headers": {
+ "X-Expiry": "2016-01-01"
+ }
+ },
"response": {
"status" : 200,
+ "headers": {
+ "Content-Type": "text/plain"
+ },
"body": "Monolith!"
}
}
]
\ No newline at end of file