This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rake pact:verify | |
Using spec/service_consumers/pact_helper.rb | |
Verifying a pact between Source System and Event API | |
A post request with an event | |
returns a response which | |
has status code 201 | |
Finished in 0.10356 seconds | |
1 example, 0 failures |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"provider": { | |
"name": "Event API" | |
}, | |
"consumer": { | |
"name": "Source System" | |
}, | |
"interactions": [ | |
{ | |
"description": "A POST request with an event", |
OlderNewer