diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-27 22:34:48 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-27 22:34:48 +0100 |
commit | d1b295099320eeb66c615737ee73c746eb7bb0dc (patch) | |
tree | ad2da6b1f0a71689448cd8c8b2961da3d327d224 /test/plugins.js | |
parent | d8995200e6802f77de1f0e3699e208695c89b95e (diff) | |
download | gitbook-d1b295099320eeb66c615737ee73c746eb7bb0dc.zip gitbook-d1b295099320eeb66c615737ee73c746eb7bb0dc.tar.gz gitbook-d1b295099320eeb66c615737ee73c746eb7bb0dc.tar.bz2 |
Check parser used before applying template shortcuts
Diffstat (limited to 'test/plugins.js')
-rw-r--r-- | test/plugins.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/plugins.js b/test/plugins.js index 43ce497..78f5b44 100644 --- a/test/plugins.js +++ b/test/plugins.js @@ -100,7 +100,9 @@ describe('Plugins', function () { it('should correctly accept shortcuts', function(done) { qdone( - books[0].template.renderString('$$hello$$') + books[0].template.renderString('$$hello$$', {}, { + type: "markdown" + }) .then(function(content) { assert.equal(content, "testhellotest"); }), |