提交 aaaa1782 编写于 作者: J José Valim

Fix render :xml test (ht Simo Niemelä)

上级 19cecc90
......@@ -64,8 +64,8 @@ def test_rendering_xml_should_call_to_xml_if_possible
end
def test_rendering_xml_should_call_to_xml_with_extra_options
get :render_with_to_xml
assert_equal "<i-am-xml/>", @response.body
get :render_xml_with_custom_options
assert_equal "<i-am-THE-xml/>", @response.body
end
def test_rendering_with_object_location_should_set_header_with_url_for
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册