summaryrefslogtreecommitdiffstats
path: root/test/output-json.js
blob: b2387a7a6326991e54bc3c6dd3cd7aff853d9baf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
var mock = require('./mock');

describe('JSON Output', function() {

    describe('Sample book', function() {
        var output;

        before(function() {
            return mock.outputDefaultBook('json')
            .then(function(_output) {
                output = _output;
            });
        });

        it('should correctly generate a README.json', function() {
            output.should.have.file('README.json');
        });

    });
});