summaryrefslogtreecommitdiffstats
path: root/test/parsing.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parsing.js')
-rw-r--r--test/parsing.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/parsing.js b/test/parsing.js
index 4e76d2c..7be50cd 100644
--- a/test/parsing.js
+++ b/test/parsing.js
@@ -8,6 +8,11 @@ describe('Book parsing', function () {
assert.equal(book1.options.description, 'Test description');
});
+ it('should correctly parse the readme with asciidoc', function() {
+ assert.equal(book3.options.title, 'My Book');
+ assert.equal(book3.options.description, 'Test description');
+ });
+
it('should correctly parse the summary', function() {
var LEXED = book1.summary;