Fix a Template name collision that broke tests

This commit is contained in:
David Greenspan
2013-12-05 23:31:37 -08:00
parent 4bdb1c7fda
commit b3a2d6d99d

View File

@@ -550,8 +550,8 @@ Tinytest.add('templating - each falsy Issue #801', function (test) {
});
Tinytest.add('templating - duplicate template error', function (test) {
Template.__define__("foo", function () {});
Template.__define__("test_duplicate_template", function () {});
test.throws(function () {
Template.__define__("foo", function () {});
Template.__define__("test_duplicate_template", function () {});
});
});