diff options
author | kpdecker <kpdecker@gmail.com> | 2013-05-29 10:57:48 -0400 |
---|---|---|
committer | kpdecker <kpdecker@gmail.com> | 2013-05-29 10:57:48 -0400 |
commit | 293672432b3912a1d1f6b659a7e08334532f56d5 (patch) | |
tree | 1db7712af3ab2a449de9d899ee6d572595ec62e3 /spec/qunit_spec.js | |
parent | da2aabe7bdc75e29178d920332fad9de183de8a0 (diff) | |
download | handlebars.js-293672432b3912a1d1f6b659a7e08334532f56d5.zip handlebars.js-293672432b3912a1d1f6b659a7e08334532f56d5.tar.gz handlebars.js-293672432b3912a1d1f6b659a7e08334532f56d5.tar.bz2 |
improve error message on missing helper
Via @stefanpenner
Fixes #523
Diffstat (limited to 'spec/qunit_spec.js')
-rw-r--r-- | spec/qunit_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/qunit_spec.js b/spec/qunit_spec.js index 933c8ed..6a093f3 100644 --- a/spec/qunit_spec.js +++ b/spec/qunit_spec.js @@ -706,7 +706,7 @@ test("if a context is not found, helperMissing is used", function() { shouldThrow(function() { var template = CompilerContext.compile("{{hello}} {{link_to world}}"); template({}); - }, [Error, "Could not find property 'link_to'"], "Should throw exception"); + }, [Error, "Missing helper: 'link_to'"], "Should throw exception"); }); test("if a context is not found, custom helperMissing is used", function() { |