diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-28 19:39:41 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-28 19:39:41 +0100 |
commit | 898000a5800d4f319f06937e4a6a2785b694d3b2 (patch) | |
tree | fe221fc83411c4f2507a42a7edd7450754190166 /test/helper.js | |
parent | f95beed58bf1d7aa7bedff774ee054d1e35f0fc0 (diff) | |
download | gitbook-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.js | 3 |
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() |