Add document_root_element to ActionDispatch::IntegrationTest so assert_select can be called without specifying a root.

This commit is contained in:
Timm 2014-05-28 09:51:41 +02:00
parent 6cb6290f5d
commit 5ffc36d476

@ -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