summaryrefslogtreecommitdiffstats
path: root/test/generation.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/generation.js')
-rw-r--r--test/generation.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/generation.js b/test/generation.js
index eb9ecfb..fd486bd 100644
--- a/test/generation.js
+++ b/test/generation.js
@@ -39,4 +39,10 @@ describe('Book generation', function () {
assert(fs.existsSync(path.join(output, "fr/README.json")));
}, done);
});
+
+ it('should correctly generate a book to website', function(done) {
+ testGeneration(book1, "site", function(output) {
+ assert(fs.existsSync(path.join(output, "index.html")));
+ }, done);
+ });
});