summaryrefslogtreecommitdiffstats
path: root/test/helper.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-21 10:17:58 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-21 10:17:58 +0100
commit9f9265ad7620059c2ee6ec829235269a6ee02946 (patch)
tree7ec49e058a262f2d3b3d4b4b55e5f4f081b1d7d9 /test/helper.js
parenta5ebbc34c7333880b5a194cbe26041029e2cdbfb (diff)
downloadgitbook-9f9265ad7620059c2ee6ec829235269a6ee02946.zip
gitbook-9f9265ad7620059c2ee6ec829235269a6ee02946.tar.gz
gitbook-9f9265ad7620059c2ee6ec829235269a6ee02946.tar.bz2
Add asciidoc support
Diffstat (limited to 'test/helper.js')
-rw-r--r--test/helper.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/helper.js b/test/helper.js
index 74f461a..f29b3c7 100644
--- a/test/helper.js
+++ b/test/helper.js
@@ -15,12 +15,16 @@ global.qdone = function qdone(promise, done) {
before(function(done) {
global.book1 = new Book(path.join(__dirname, './fixtures/test1'));
global.book2 = new Book(path.join(__dirname, './fixtures/test2'));
+ global.book3 = new Book(path.join(__dirname, './fixtures/test3'));
qdone(
global.book1.parse()
.then(function() {
return global.book2.parse();
- }),
+ })
+ .then(function() {
+ return global.book3.parse();
+ }),
done
);
});