summaryrefslogtreecommitdiffstats
path: root/test/plugins.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-27 21:39:41 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-27 21:39:41 +0100
commitcf12d090928907bb82c9f1796b642cbef9b42640 (patch)
treeb229ff036508d52cbc8c9b50614c99f8ee8d0c65 /test/plugins.js
parent8e18adbe4cd64b8d6baf63627cba4109774fc7e5 (diff)
downloadgitbook-cf12d090928907bb82c9f1796b642cbef9b42640.zip
gitbook-cf12d090928907bb82c9f1796b642cbef9b42640.tar.gz
gitbook-cf12d090928907bb82c9f1796b642cbef9b42640.tar.bz2
Complete parsing of blocks from plugin extensions
Diffstat (limited to 'test/plugins.js')
-rw-r--r--test/plugins.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/plugins.js b/test/plugins.js
index 560a779..0f826d2 100644
--- a/test/plugins.js
+++ b/test/plugins.js
@@ -110,9 +110,9 @@ describe('Plugins', function () {
it('should correctly extend template blocks with sub-blocks', function(done) {
qdone(
- books[0].template.renderString('{% test3join %}hello{% also %}the{% also %}world{% endtest3join %}')
+ books[0].template.renderString('{% test3join separator=";" %}hello{% also %}world{% endtest3join %}')
.then(function(content) {
- assert.equal(content, "hello the world");
+ assert.equal(content, "hello;world");
}),
done
);