diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-02-12 20:48:51 +0100 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-02-12 20:48:51 +0100 |
commit | 82f94b010f1d77957c9d1b0967dcdd5eafe73c39 (patch) | |
tree | c13607b4bbdf20eb589052dc785edb6e70d6e031 /test/output-json.js | |
parent | 4555c541a8f98cb6ad4cbec2d7bf85b375dbf505 (diff) | |
download | gitbook-82f94b010f1d77957c9d1b0967dcdd5eafe73c39.zip gitbook-82f94b010f1d77957c9d1b0967dcdd5eafe73c39.tar.gz gitbook-82f94b010f1d77957c9d1b0967dcdd5eafe73c39.tar.bz2 |
Remove concept of generator, to merge it with Output
Diffstat (limited to 'test/output-json.js')
-rw-r--r-- | test/output-json.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/output-json.js b/test/output-json.js index b2387a7..6eb3c48 100644 --- a/test/output-json.js +++ b/test/output-json.js @@ -1,4 +1,5 @@ var mock = require('./mock'); +var JSONOutput = require('../lib/output/json'); describe('JSON Output', function() { @@ -6,7 +7,7 @@ describe('JSON Output', function() { var output; before(function() { - return mock.outputDefaultBook('json') + return mock.outputDefaultBook(JSONOutput) .then(function(_output) { output = _output; }); |