summaryrefslogtreecommitdiffstats
path: root/test/website.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-22 21:52:13 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-22 21:52:13 +0100
commit0c8513801c131ec6e2c7b348403a4c66a9bf2a11 (patch)
tree0d30ae9e895d930ad2d7a9bed0c6fbee3d8e59b3 /test/website.js
parent90789aa5b92a17825c6d98beced5abc3794f4d84 (diff)
downloadgitbook-0c8513801c131ec6e2c7b348403a4c66a9bf2a11.zip
gitbook-0c8513801c131ec6e2c7b348403a4c66a9bf2a11.tar.gz
gitbook-0c8513801c131ec6e2c7b348403a4c66a9bf2a11.tar.bz2
Write glossary for website
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")));