summaryrefslogtreecommitdiffstats
path: root/test/plugins/blocks/index.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-27 21:21:01 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-27 21:21:01 +0100
commit8e18adbe4cd64b8d6baf63627cba4109774fc7e5 (patch)
treee757c0449976867a0923d94f429f9cc11c87a817 /test/plugins/blocks/index.js
parentf1b5e3de0ce3662385793d197ccb54ef4e9901be (diff)
downloadgitbook-8e18adbe4cd64b8d6baf63627cba4109774fc7e5.zip
gitbook-8e18adbe4cd64b8d6baf63627cba4109774fc7e5.tar.gz
gitbook-8e18adbe4cd64b8d6baf63627cba4109774fc7e5.tar.bz2
Parse correctly list of blocks and args
Diffstat (limited to 'test/plugins/blocks/index.js')
-rw-r--r--test/plugins/blocks/index.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/plugins/blocks/index.js b/test/plugins/blocks/index.js
index 91e8b55..0f5fb87 100644
--- a/test/plugins/blocks/index.js
+++ b/test/plugins/blocks/index.js
@@ -10,6 +10,14 @@ module.exports = {
process: function(args) {
return "test2"+args.body+"test2";
}
- }
+ },
+ "test3join": {
+ blocks: [
+ "also"
+ ],
+ process: function(args) {
+ return "test";
+ }
+ }
}
}; \ No newline at end of file