test/handler_test.rb in express_templates-0.2.0 vs test/handler_test.rb in express_templates-0.2.2

- old
+ new

@@ -84,13 +84,13 @@ test "class names" do @template = new_template("p.whatever.another 'Lorum Ipsum' ") assert_equal "<p class=\"whatever another\">Lorum Ipsum</p>", render end - # test "string in block works" do - # @template = new_template "h1 { 'foo' } " - # assert_equal "<h1>foo</h1>", render - # end + test "string in block works" do + @template = new_template "h1 { 'foo' } " + assert_equal "<h1>foo</h1>", render + end # test "real document has doctype and newline" do # @template = new_template("html { body { h1 \"hello\" } }") # assert_equal with_doctype("<html xmlns=\"http://www.w3.org/1999/xhtml\">\n <body>\n <h1>hello</h1>\n </body>\n</html>\n"), render # end \ No newline at end of file