diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/parsing.js | 2 | ||||
-rw-r--r-- | test/website.js | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/parsing.js b/test/parsing.js index f61a4fe..ef87a91 100644 --- a/test/parsing.js +++ b/test/parsing.js @@ -28,7 +28,7 @@ describe('Book parsing', function () { assert.equal(LEXED[0].name, "Test"); assert.equal(LEXED[0].description, "a test text"); - assert.equal(LEXED[1].id, "test 2"); + assert.equal(LEXED[1].id, "test_2"); assert.equal(LEXED[1].name, "Test 2"); assert.equal(LEXED[1].description, "a second test"); }); diff --git a/test/website.js b/test/website.js index f1dabfb..54dfc8a 100644 --- a/test/website.js +++ b/test/website.js @@ -25,6 +25,7 @@ describe('Website Generator', function () { 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"))); + assert(fs.existsSync(path.join(output, "gitbook"))); assert(fs.existsSync(path.join(output, "fr/index.html"))); assert(fs.existsSync(path.join(output, "en/index.html"))); }, done); |