test/handler_test.rb in gara-0.1.4 vs test/handler_test.rb in gara-0.1.5
- old
+ new
@@ -71,10 +71,10 @@
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]
\ No newline at end of file