diff options
Diffstat (limited to 'test/output-json.js')
-rw-r--r-- | test/output-json.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/output-json.js b/test/output-json.js index cb29119..70a10f8 100644 --- a/test/output-json.js +++ b/test/output-json.js @@ -53,9 +53,10 @@ describe('JSON Output', function() { it('should correctly generate a README.json for the whole book', function() { output.should.have.file('README.json'); - var json = require(output.resolve('README.json')); + json.book.language.should.equal('en'); + json.should.have.property('languages') .with.property('list').with.lengthOf(2); }); |