summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-asciidoc/test/summary.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-asciidoc/test/summary.js')
-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() {