summaryrefslogtreecommitdiffstats
path: root/test/includes.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-11-03 17:40:38 +0100
committerSamy Pessé <samypesse@gmail.com>2014-11-03 17:40:38 +0100
commitdfd487692a948b9d16f1fbd75b6c4dd65d44c1cb (patch)
tree5f295d74c8b96b5fd9f595c8f22c143bcee62540 /test/includes.js
parent195374eceeb5812df3c14ee5fdb88ed7f3310a2b (diff)
downloadgitbook-dfd487692a948b9d16f1fbd75b6c4dd65d44c1cb.zip
gitbook-dfd487692a948b9d16f1fbd75b6c4dd65d44c1cb.tar.gz
gitbook-dfd487692a948b9d16f1fbd75b6c4dd65d44c1cb.tar.bz2
Adapt new page.parse api for tests
Diffstat (limited to 'test/includes.js')
-rw-r--r--test/includes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/includes.js b/test/includes.js
index 09f76d3..6954d3f 100644
--- a/test/includes.js
+++ b/test/includes.js
@@ -9,7 +9,7 @@ var FIXTURES_DIR = path.join(__dirname, './fixtures/');
function loadPage (name, options) {
var CONTENT = fs.readFileSync(FIXTURES_DIR + name + '.md', 'utf8');
- return page(CONTENT, options);
+ return page(CONTENT, options).sections;
}