summaryrefslogtreecommitdiffstats
path: root/test/plugins.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-02-29 17:35:12 +0100
committerSamy Pessé <samypesse@gmail.com>2016-02-29 17:35:12 +0100
commitec353e179dedf1ebf1ab6e54f6217a88d087ea75 (patch)
tree4a6e90f89a56ea571c0a090e6a524f760da8aa3b /test/plugins.js
parent496f253e698f1224fa9f9cf88670648ff3930d7a (diff)
downloadgitbook-ec353e179dedf1ebf1ab6e54f6217a88d087ea75.zip
gitbook-ec353e179dedf1ebf1ab6e54f6217a88d087ea75.tar.gz
gitbook-ec353e179dedf1ebf1ab6e54f6217a88d087ea75.tar.bz2
Remove .gitbook and add "root" option
Diffstat (limited to 'test/plugins.js')
-rw-r--r--test/plugins.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/plugins.js b/test/plugins.js
index 4d9cdf1..b85e507 100644
--- a/test/plugins.js
+++ b/test/plugins.js
@@ -53,7 +53,7 @@ describe('Plugins', function() {
}
})
.then(function(book) {
- return book.config.load()
+ return book.prepareConfig()
.then(function() {
var plugins = new PluginsManager(book);
return plugins.install();
@@ -90,7 +90,7 @@ describe('Plugins', function() {
}
})
.then(function(book2) {
- return book2.config.load()
+ return book2.prepareConfig()
.then(function() {
var plugin = new BookPlugin(book2, 'test-config');
return plugin.load(PLUGINS_ROOT);