diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-21 10:17:58 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-21 10:17:58 +0100 |
commit | 9f9265ad7620059c2ee6ec829235269a6ee02946 (patch) | |
tree | 7ec49e058a262f2d3b3d4b4b55e5f4f081b1d7d9 /test/parsing.js | |
parent | a5ebbc34c7333880b5a194cbe26041029e2cdbfb (diff) | |
download | gitbook-9f9265ad7620059c2ee6ec829235269a6ee02946.zip gitbook-9f9265ad7620059c2ee6ec829235269a6ee02946.tar.gz gitbook-9f9265ad7620059c2ee6ec829235269a6ee02946.tar.bz2 |
Add asciidoc support
Diffstat (limited to 'test/parsing.js')
-rw-r--r-- | test/parsing.js | 5 |
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; |