summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/generation.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/generation.js b/test/generation.js
index d339837..eb9ecfb 100644
--- a/test/generation.js
+++ b/test/generation.js
@@ -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);
});
});