summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-asciidoc/test
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-21 10:53:15 +0100
committerSamy Pessé <samypesse@gmail.com>2016-12-22 11:46:14 +0100
commit7e21dbde1409471590c86c01196f596aa7e5d80f (patch)
tree8b3284a590356f298bd4d7626b349dedc5da22d1 /packages/gitbook-asciidoc/test
parenta81a503ff0bbbf66f6fefb7090f8516071ae817a (diff)
downloadgitbook-7e21dbde1409471590c86c01196f596aa7e5d80f.zip
gitbook-7e21dbde1409471590c86c01196f596aa7e5d80f.tar.gz
gitbook-7e21dbde1409471590c86c01196f596aa7e5d80f.tar.bz2
Fix parsing of summary
Diffstat (limited to 'packages/gitbook-asciidoc/test')
-rwxr-xr-xpackages/gitbook-asciidoc/test/summary.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/gitbook-asciidoc/test/summary.js b/packages/gitbook-asciidoc/test/summary.js
index 5c9bbcc..5115bb1 100755
--- a/packages/gitbook-asciidoc/test/summary.js
+++ b/packages/gitbook-asciidoc/test/summary.js
@@ -35,10 +35,10 @@ describe('Summary parsing', function () {
});
it('should normalize paths from .md', function() {
- assert.equal(LEXED.chapters[0].path,'README.md');
- assert.equal(LEXED.chapters[1].path,'chapter-1/README.md');
- assert.equal(LEXED.chapters[2].path,'chapter-2/README.md');
- assert.equal(LEXED.chapters[3].path,'chapter-3/README.md');
+ assert.equal(LEXED.chapters[0].path,'README.adoc');
+ assert.equal(LEXED.chapters[1].path,'chapter-1/README.adoc');
+ assert.equal(LEXED.chapters[2].path,'chapter-2/README.adoc');
+ assert.equal(LEXED.chapters[3].path,'chapter-3/README.adoc');
});
it('should detect levels correctly', function() {