summaryrefslogtreecommitdiffstats
path: root/test/json.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/json.js')
-rw-r--r--test/json.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json.js b/test/json.js
index b7cdefa..e0ad14f 100644
--- a/test/json.js
+++ b/test/json.js
@@ -16,7 +16,7 @@ describe('JSON generator', function () {
it('should correctly generate a book to json with sub folders', function(done) {
testGeneration(books[1], "json", function(output) {
- assert(!fs.existsSync(path.join(output, "README.json")));
+ assert(fs.existsSync(path.join(output, "README.json")));
assert(fs.existsSync(path.join(output, "intro.json")));
assert(fs.existsSync(path.join(output, "sub/test1.json")));