summaryrefslogtreecommitdiffstats
path: root/test/page.js
diff options
context:
space:
mode:
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() {