diff options
Diffstat (limited to 'test/output-json.js')
-rw-r--r-- | test/output-json.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/output-json.js b/test/output-json.js index 9e70771..ee345e2 100644 --- a/test/output-json.js +++ b/test/output-json.js @@ -2,7 +2,10 @@ var mock = require('./mock'); describe('JSON Output', function() { it('should correctly generate a default book', function() { - return mock.outputDefaultBook('json'); + return mock.outputDefaultBook('json') + .then(function(output) { + output.should.have.file('README.json'); + }); }); }); |