Module: TestXml::Spec

Included in:
Spec::Example::ExampleGroup
Defined in:
lib/test_xml/spec.rb

Defined Under Namespace

Classes: MatchXml

Instance Method Summary collapse

Instance Method Details

#match_xml(expected) ⇒ Object



30
31
32
# File 'lib/test_xml/spec.rb', line 30

def match_xml(expected)
  MatchXml.new(expected, true)
end

#match_xml_structure(expected) ⇒ Object



34
35
36
# File 'lib/test_xml/spec.rb', line 34

def match_xml_structure(expected)
  MatchXml.new(expected, false)
end