test/handler_test.rb in gara-0.1.6 vs test/handler_test.rb in gara-0.1.7

- old
+ new

@@ -76,11 +76,11 @@ assert_equal "<p style=\"align: right;\">Lorum Ipsum</p>", render end test "real document has doctype and newline" do @template = new_template("html { body { h1 \"hello\" } }") - assert_equal with_doctype("<html><body><h1>hello</h1></body></html>\n"), render + 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 test "locals work" do @template = new_template "h1 title" @template.locals = [:title] @@ -97,10 +97,9 @@ assert_equal "<li>#{A_LINK}</li>", render end test "helpers returning html work in sequence within a block" do @template = new_template("li { link_helper ; link_helper } ") - without_self = render assert_equal "<li>\n#{A_LINK}#{A_LINK}\n</li>", render end end \ No newline at end of file