bots: Move mock http conversations to fixtures.

This commit is contained in:
Robert Hönig 2017-06-13 14:50:24 +02:00 committed by Tim Abbott
parent 2d94fd16ba
commit c193443541
4 changed files with 49 additions and 50 deletions

View file

@ -0,0 +1,7 @@
{
"api_url": "http://api.giphy.com/v1/gifs/translate",
"params": {
"s": "Hello",
"api_key": "12345678"
}
}

View file

@ -0,0 +1,12 @@
{
"meta": {
"status": 200
},
"data": {
"images": {
"original": {
"url": "https://media4.giphy.com/media/3o6ZtpxSZbQRRnwCKQ/giphy.gif"
}
}
}
}