summaryrefslogtreecommitdiffstats
path: root/test/website.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/website.js')
-rw-r--r--test/website.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/website.js b/test/website.js
index 54dfc8a..064d226 100644
--- a/test/website.js
+++ b/test/website.js
@@ -22,6 +22,12 @@ describe('Website Generator', function () {
}, done);
});
+ it('should correctly include glossary in website', function(done) {
+ testGeneration(books[0], "site", function(output) {
+ assert(fs.existsSync(path.join(output, "GLOSSARY.html")));
+ }, 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")));