diff options
-rw-r--r-- | spec/regressions.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/regressions.js b/spec/regressions.js index d4598cc..11207fc 100644 --- a/spec/regressions.js +++ b/spec/regressions.js @@ -137,4 +137,12 @@ describe('Regressions', function() { it('GH-820: zero pathed rendering', function() { shouldCompileTo('{{foo.bar}}', {foo: 0}, ''); }); + + it('GH-837: undefined values for helpers', function() { + var helpers = { + str: function(value) { return value + ''; } + }; + + shouldCompileTo('{{str bar.baz}}', [{}, helpers], 'undefined'); + }); }); |