summaryrefslogtreecommitdiffstats
path: root/test/helper.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-19 15:52:35 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-19 15:52:35 +0100
commit777963c97c41094555b1ea94b351adf380637922 (patch)
tree9e2b0702d23dcf53661355cf0ae4e9cad926366d /test/helper.js
parent2f3d6f8dff7d50fb1e60b90cbb3245dfec2fd4f6 (diff)
downloadgitbook-777963c97c41094555b1ea94b351adf380637922.zip
gitbook-777963c97c41094555b1ea94b351adf380637922.tar.gz
gitbook-777963c97c41094555b1ea94b351adf380637922.tar.bz2
Change name of Book.init to Book.parse
Diffstat (limited to 'test/helper.js')
-rw-r--r--test/helper.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/helper.js b/test/helper.js
index f9723b9..74f461a 100644
--- a/test/helper.js
+++ b/test/helper.js
@@ -17,9 +17,9 @@ before(function(done) {
global.book2 = new Book(path.join(__dirname, './fixtures/test2'));
qdone(
- global.book1.init()
+ global.book1.parse()
.then(function() {
- return global.book2.init();
+ return global.book2.parse();
}),
done
);