summaryrefslogtreecommitdiffstats
path: root/test/plugins.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/plugins.js')
-rw-r--r--test/plugins.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/plugins.js b/test/plugins.js
index 14f4a2f..02b7627 100644
--- a/test/plugins.js
+++ b/test/plugins.js
@@ -185,6 +185,13 @@ describe('Plugins', function () {
content.should.equal("hello;the;world");
});
});
+
+ it('should correctly extend template blocks with arguments', function() {
+ return testTpl('{% test5args "a", "b", "c" %}{% endtest5args %}')
+ .then(function(content) {
+ content.should.equal("test5a,b,ctest5");
+ });
+ });
});
});