diff options
Diffstat (limited to 'test/configuration.js')
-rw-r--r-- | test/configuration.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/configuration.js b/test/configuration.js index f1fb223..eedec49 100644 --- a/test/configuration.js +++ b/test/configuration.js @@ -9,6 +9,13 @@ describe('Configuration', function () { }); }); + it('should extract default description from README', function() { + return books.parse("basic") + .then(function(book) { + book.options.description.should.be.equal("Default description for the book."); + }); + }); + it('should correctly load from json (book.json)', function() { return books.parse("config-json") .then(function(book) { |