Improve tests for multilingual json output

This commit is contained in:
Samy Pessé
2015-01-19 22:44:17 +01:00
parent c15399613c
commit bac25cdf29
+3 -1
View File
@@ -34,7 +34,9 @@ describe('Book generation', function () {
it('should correctly generate a multilingual book to json', function(done) {
testGeneration(book2, "json", function(output) {
assert(fs.existsSync(path.join(output, "README.json")));
assert(fs.existsSync(path.join(output, "en/README.json")));
assert(fs.existsSync(path.join(output, "fr/README.json")));
}, done);
});
});