mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-21 01:53:26 +00:00
22 lines
455 B
JavaScript
22 lines
455 B
JavaScript
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');
|
|
});
|
|
|
|
});
|
|
});
|
|
|