diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/generation.js | 9 | ||||
-rw-r--r-- | test/parsing.js | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/test/generation.js b/test/generation.js new file mode 100644 index 0000000..3a86fd5 --- /dev/null +++ b/test/generation.js @@ -0,0 +1,9 @@ +var path = require('path'); +var _ = require('lodash'); +var assert = require('assert'); + +describe('Book parsing', function () { + it('should correctly generate a book', function(done) { + qdone(book1.generate(), done); + }); +}); diff --git a/test/parsing.js b/test/parsing.js index 2c63a02..636b574 100644 --- a/test/parsing.js +++ b/test/parsing.js @@ -2,8 +2,6 @@ var path = require('path'); var _ = require('lodash'); var assert = require('assert'); -var Book = require('../').Book; - describe('Book parsing', function () { it('should correctly parse the readme', function() { assert.equal(book1.options.title, 'My Book'); |