diff options
Diffstat (limited to 'spec/visitor.js')
-rw-r--r-- | spec/visitor.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/visitor.js b/spec/visitor.js index 23113cf..3e2d523 100644 --- a/spec/visitor.js +++ b/spec/visitor.js @@ -8,6 +8,7 @@ describe('Visitor', function() { // stub methods are executed var visitor = new Handlebars.Visitor(); visitor.accept(Handlebars.parse('{{foo}}{{#foo (bar 1 "1" true undefined null) foo=@data}}{{!comment}}{{> bar }} {{/foo}}')); + visitor.accept(Handlebars.parse('{{#> bar }} {{/bar}}')); }); it('should traverse to stubs', function() { @@ -40,8 +41,6 @@ describe('Visitor', function() { visitor.accept(Handlebars.parse('{{#foo.bar (foo.bar 1 "2" true) foo=@foo.bar}}{{!comment}}{{> bar }} {{/foo.bar}}')); }); - it('should return undefined'); - describe('mutating', function() { describe('fields', function() { it('should replace value', function() { |