summaryrefslogtreecommitdiffstats
path: root/lib/models
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-05-05 11:09:35 +0200
committerSamy Pesse <samypesse@gmail.com>2016-05-05 11:09:35 +0200
commitb6051babac5cc384ff14971a3702257a3323ed77 (patch)
tree0c47ba7cd269dcc6afffd90c9a56f4f92168a62c /lib/models
parent34947b5e207e84ef43a8194c0ec7bac19dccf709 (diff)
downloadgitbook-b6051babac5cc384ff14971a3702257a3323ed77.zip
gitbook-b6051babac5cc384ff14971a3702257a3323ed77.tar.gz
gitbook-b6051babac5cc384ff14971a3702257a3323ed77.tar.bz2
Adapt unit tests for new templating post process
Diffstat (limited to 'lib/models')
-rw-r--r--lib/models/__tests__/templateBlock.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/models/__tests__/templateBlock.js b/lib/models/__tests__/templateBlock.js
index 597b672..db82b66 100644
--- a/lib/models/__tests__/templateBlock.js
+++ b/lib/models/__tests__/templateBlock.js
@@ -13,7 +13,6 @@ describe('TemplateBlock', function() {
// Check basic templateBlock properties
expect(templateBlock.getName()).toBe('sayhello');
- expect(templateBlock.getPost()).toBeNull();
expect(templateBlock.getParse()).toBeTruthy();
expect(templateBlock.getEndTag()).toBe('endsayhello');
expect(templateBlock.getBlocks().size).toBe(0);