diff --git a/app.js b/app.js index 98e58b1..b897e36 100644 --- a/app.js +++ b/app.js @@ -6,8 +6,9 @@ var animals = { "cat": "meow", "dog": "bark", "eel": "hiss", - "bear": "roar", - "frog": "croak" + "bear": "growl", + "frog": "croak", + "lion": "roar" } function getAnimal() { diff --git a/test/test.js b/test/test.js index 76727f2..6b1432e 100644 --- a/test/test.js +++ b/test/test.js @@ -29,6 +29,6 @@ describe('GET', function(){ request .get('/api') .set('Accept', 'application/json') - .expect(200, {"cat":"meow","dog":"bark","eel":"hiss","bear":"roar","frog":"croak"}, done); + .expect(200, {"cat":"meow","dog":"bark","eel":"hiss","bear":"growl","frog":"croak","lion":"roar"}, done); }) -}) \ No newline at end of file +})