summaryrefslogtreecommitdiffstats
path: root/spec/qunit_spec.js
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2013-05-29 10:57:48 -0400
committerkpdecker <kpdecker@gmail.com>2013-05-29 10:57:48 -0400
commit293672432b3912a1d1f6b659a7e08334532f56d5 (patch)
tree1db7712af3ab2a449de9d899ee6d572595ec62e3 /spec/qunit_spec.js
parentda2aabe7bdc75e29178d920332fad9de183de8a0 (diff)
downloadhandlebars.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.js2
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() {