提交 5ffc36d4 编写于 作者: T Timm

Add document_root_element to ActionDispatch::IntegrationTest so assert_select...

Add document_root_element to ActionDispatch::IntegrationTest so assert_select can be called without specifying a root.
上级 6cb6290f
......@@ -493,5 +493,9 @@ def url_options
reset! unless integration_session
integration_session.url_options
end
def document_root_element
html_document.root
end
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册