diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-27 21:39:41 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-27 21:39:41 +0100 |
commit | cf12d090928907bb82c9f1796b642cbef9b42640 (patch) | |
tree | b229ff036508d52cbc8c9b50614c99f8ee8d0c65 /test/plugins.js | |
parent | 8e18adbe4cd64b8d6baf63627cba4109774fc7e5 (diff) | |
download | gitbook-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.js | 4 |
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 ); |