summaryrefslogtreecommitdiffstats
path: root/test/helper.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-28 19:39:41 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-28 19:39:41 +0100
commit898000a5800d4f319f06937e4a6a2785b694d3b2 (patch)
treefe221fc83411c4f2507a42a7edd7450754190166 /test/helper.js
parentf95beed58bf1d7aa7bedff774ee054d1e35f0fc0 (diff)
downloadgitbook-898000a5800d4f319f06937e4a6a2785b694d3b2.zip
gitbook-898000a5800d4f319f06937e4a6a2785b694d3b2.tar.gz
gitbook-898000a5800d4f319f06937e4a6a2785b694d3b2.tar.bz2
Fix resources loading in plugins
Diffstat (limited to 'test/helper.js')
-rw-r--r--test/helper.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/helper.js b/test/helper.js
index fbdd85c..5e16bc0 100644
--- a/test/helper.js
+++ b/test/helper.js
@@ -5,6 +5,7 @@ var _ = require('lodash');
var fsUtil = require("../lib/utils/fs");
var Book = require('../').Book;
+var LOG_LEVELS = require('../').LOG_LEVELS;
// Nicety for mocha / Q
global.qdone = function qdone(promise, done) {
@@ -38,7 +39,7 @@ global.books = _.chain(books)
.map(function(book) {
if (book.indexOf("test") !== 0) return null;
return new Book(path.join(__dirname, './fixtures/', book), {
- logLevel: Book.LOG_LEVELS.DISABLED
+ logLevel: LOG_LEVELS.DISABLED
});
})
.compact()