diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-22 21:52:13 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-22 21:52:13 +0100 |
commit | 0c8513801c131ec6e2c7b348403a4c66a9bf2a11 (patch) | |
tree | 0d30ae9e895d930ad2d7a9bed0c6fbee3d8e59b3 /test/website.js | |
parent | 90789aa5b92a17825c6d98beced5abc3794f4d84 (diff) | |
download | gitbook-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.js | 6 |
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"))); |