diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-14 22:49:55 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-14 22:49:55 +0100 |
commit | fef822145d43d80dbbefa8712eab88ad7044d6c1 (patch) | |
tree | 611af2ef4292e9e9a918c2840db2a65b7efdd587 /test/page.js | |
parent | cfefa7d57992738373649dab16cbaf4754c3e5c7 (diff) | |
download | gitbook-fef822145d43d80dbbefa8712eab88ad7044d6c1.zip gitbook-fef822145d43d80dbbefa8712eab88ad7044d6c1.tar.gz gitbook-fef822145d43d80dbbefa8712eab88ad7044d6c1.tar.bz2 |
Move conrefs to a separate mixin
Diffstat (limited to 'test/page.js')
-rw-r--r-- | test/page.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/page.js b/test/page.js index d844d13..8dbfe8b 100644 --- a/test/page.js +++ b/test/page.js @@ -54,7 +54,7 @@ describe('Page', function() { it('should add a default ID to headings', function() { var page = book.addPage('heading.md'); - return page.parse(output) + return page.toHTML(output) .then(function() { page.content.should.be.html({ 'h1#hello': { @@ -73,7 +73,7 @@ describe('Page', function() { before(function() { page = book.addPage('links.md'); - return page.parse(output); + return page.toHTML(output); }); it('should replace links to page to .html', function() { |