From 5eeabd985cfb78e2dbdf064bae3da336bf7b5845 Mon Sep 17 00:00:00 2001 From: David Greenspan Date: Sat, 5 Oct 2013 15:14:26 -0700 Subject: [PATCH] fix typos in tests --- packages/spacebars-tests/template_tests.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/spacebars-tests/template_tests.js b/packages/spacebars-tests/template_tests.js index 120c6580c2..a0979d3ceb 100644 --- a/packages/spacebars-tests/template_tests.js +++ b/packages/spacebars-tests/template_tests.js @@ -194,10 +194,9 @@ Tinytest.add("spacebars - templates - block helper", function (test) { var div = renderToDiv(tmpl); test.equal(div.innerHTML.trim(), "bar"); - R.set(Template.spacebars_template_test_else_content); + R.set(Template.spacebars_template_test_elsecontent); Deps.flush(); - // XXX this doesn't work. - // test.equal(div.innerHTML.trim(), "baz"); + test.equal(div.innerHTML.trim(), "baz"); }); Tinytest.add("spacebars - templates - block helper function with one string arg", function (test) {