Created
February 24, 2017 14:40
-
-
Save azusa/b9442d827d1831327ec60fbaa688e136 to your computer and use it in GitHub Desktop.
zoo_app-animal_service.json
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
{ | |
"consumer": { | |
"name": "Zoo App" | |
}, | |
"provider": { | |
"name": "Animal Service" | |
}, | |
"interactions": [ | |
{ | |
"description": "a request for an alligator", | |
"provider_state": "an alligator exists", | |
"request": { | |
"method": "get", | |
"path": "/alligator", | |
"query": "" | |
}, | |
"response": { | |
"status": 200, | |
"headers": { | |
"Content-Type": "application/json" | |
}, | |
"body": { | |
"name": "Betty" | |
} | |
} | |
} | |
], | |
"metadata": { | |
"pactSpecificationVersion": "1.0.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bundle exec rspec spec/service_providers/animal_service_client_spec.rb