summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/website.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/website.js b/test/website.js
index 7efcec1..f1dabfb 100644
--- a/test/website.js
+++ b/test/website.js
@@ -21,4 +21,12 @@ describe('Website Generator', function () {
assert(INDEX.indexOf("styles/website.css") > 0);
}, done);
});
+
+ it('should correctly generate a multilingual book to website', function(done) {
+ testGeneration(books[2], "site", function(output) {
+ assert(fs.existsSync(path.join(output, "index.html")));
+ assert(fs.existsSync(path.join(output, "fr/index.html")));
+ assert(fs.existsSync(path.join(output, "en/index.html")));
+ }, done);
+ });
});