summaryrefslogtreecommitdiffstats
path: root/test/node_modules/gitbook-plugin-test-blocks/index.js
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-04-30 22:06:16 +0200
committerSamy Pesse <samypesse@gmail.com>2016-04-30 22:06:16 +0200
commitc1d53ec11fbe085932df911bda5686b7bf671f53 (patch)
tree97ae6db641eb79ec9b061af136a0b2e3c549db55 /test/node_modules/gitbook-plugin-test-blocks/index.js
parent36b49c66c6b75515bc84dd678fd52121a313e8d2 (diff)
downloadgitbook-c1d53ec11fbe085932df911bda5686b7bf671f53.zip
gitbook-c1d53ec11fbe085932df911bda5686b7bf671f53.tar.gz
gitbook-c1d53ec11fbe085932df911bda5686b7bf671f53.tar.bz2
Switch parsers to a model
Diffstat (limited to 'test/node_modules/gitbook-plugin-test-blocks/index.js')
-rw-r--r--test/node_modules/gitbook-plugin-test-blocks/index.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/node_modules/gitbook-plugin-test-blocks/index.js b/test/node_modules/gitbook-plugin-test-blocks/index.js
deleted file mode 100644
index 7104006..0000000
--- a/test/node_modules/gitbook-plugin-test-blocks/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-var should = require('should');
-
-module.exports = {
- blocks: {
- // Simple test
- hello: function(blk) {
- return 'Hello ' + blk.body + '!';
- },
-
- // Test using the conetxt "this"
- testContext: function(s) {
- this.should.have.property('config');
- this.should.have.property('log');
- this.should.have.property('options');
- this.should.have.property('resolve').which.is.a.function;
- this.should.have.property('book').which.equal(this);
-
- return 'Hello ' + s + '!';
- }
- }
-};