diff options
Diffstat (limited to 'specs/sections.yml')
-rw-r--r-- | specs/sections.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/specs/sections.yml b/specs/sections.yml index 40021c0..fdfd799 100644 --- a/specs/sections.yml +++ b/specs/sections.yml @@ -47,6 +47,12 @@ tests: template: '"{{#boolean}}This should not be rendered.{{/boolean}}"' expected: '""' + - name: Null is falsey + desc: Null is falsey. + data: { "null": null } + template: '"{{#null}}This should not be rendered.{{/null}}"' + expected: '""' + - name: Context desc: Objects and hashes should be pushed onto the context stack. data: { context: { name: 'Joe' } } |