summaryrefslogtreecommitdiffstats
path: root/test/page.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-02-14 22:49:55 +0100
committerSamy Pessé <samypesse@gmail.com>2016-02-14 22:49:55 +0100
commitfef822145d43d80dbbefa8712eab88ad7044d6c1 (patch)
tree611af2ef4292e9e9a918c2840db2a65b7efdd587 /test/page.js
parentcfefa7d57992738373649dab16cbaf4754c3e5c7 (diff)
downloadgitbook-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.js4
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() {