提交 cf56dcf9 编写于 作者: J Jeremy Kemper

Fix integration test to pass same-origin verification

上级 39ca25f5
......@@ -971,7 +971,7 @@ def test_should_implicitly_render_html_template_from_xhr_request
end
def test_should_implicitly_render_js_template_without_layout
get :render_implicit_js_template_without_layout, :format => :js
xhr :get, :render_implicit_js_template_without_layout, :format => :js
assert_no_match %r{<html>}, @response.body
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册