summaryrefslogtreecommitdiffstats
path: root/test/plugins.js
diff options
context:
space:
mode:
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);