summaryrefslogtreecommitdiffstats
path: root/test/output-json.js
blob: ee345e27a1b8fdbbc80baaf39b157b0487847a18 (plain)
1
2
3
4
5
6
7
8
9
10
11
var mock = require('./mock');

describe('JSON Output', function() {
    it('should correctly generate a default book', function() {
        return mock.outputDefaultBook('json')
        .then(function(output) {
            output.should.have.file('README.json');
        });
    });
});