diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-20 11:29:26 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-20 11:29:26 +0100 |
commit | 238cd9f7f09f11ecdb1717a5d07fc33642d29043 (patch) | |
tree | 72eac94839bda4f32cb41441b2b88532eed52603 /test | |
parent | bac25cdf297a7fa54f21977aa17d455e439cdf51 (diff) | |
download | gitbook-238cd9f7f09f11ecdb1717a5d07fc33642d29043.zip gitbook-238cd9f7f09f11ecdb1717a5d07fc33642d29043.tar.gz gitbook-238cd9f7f09f11ecdb1717a5d07fc33642d29043.tar.bz2 |
Add back theme
Diffstat (limited to 'test')
-rw-r--r-- | test/generation.js | 6 |
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); + }); }); |