From bac25cdf297a7fa54f21977aa17d455e439cdf51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Mon, 19 Jan 2015 22:44:17 +0100 Subject: [PATCH] Improve tests for multilingual json output --- test/generation.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/generation.js b/test/generation.js index d33983708..eb9ecfbba 100644 --- a/test/generation.js +++ b/test/generation.js @@ -34,7 +34,9 @@ describe('Book generation', function () { it('should correctly generate a multilingual book to json', function(done) { testGeneration(book2, "json", function(output) { - + assert(fs.existsSync(path.join(output, "README.json"))); + assert(fs.existsSync(path.join(output, "en/README.json"))); + assert(fs.existsSync(path.join(output, "fr/README.json"))); }, done); }); });