module Rails::Dom::Testing::Assertions::DomAssertions

def fragment(text, html_version: nil)

def fragment(text, html_version: nil)
  Rails::Dom::Testing.html_document_fragment(html_version: html_version).parse(text)
end