Sha256: 249fa7f187cf992160af83544c420a7181fb45120b9f3555f929b507f8f44fee
Contents?: true
Size: 851 Bytes
Versions: 1
Compression:
Stored size: 851 Bytes
Contents
require 'test_helper' class TestTestUnit < Test::Unit::TestCase def test_assert_match_xml xml = <<-XML <root> <one>1</one> </root> XML assert_match_xml(xml) do <<-XML <root> <one>1</one> </root> XML end end def test_assert_match_xml_structure xml = <<-XML <root> <one>1</one> <two> <three>3</three> </two> </root> XML assert_match_xml_structure(xml) do <<-XML <root> <one>2</one> <two><three/></two> </root> XML end end def test_assert_not_match_xml xml = <<-XML <root> <one>1</one> </root> XML assert_not_match_xml(xml) do <<-XML <root> <one>2</one> </root> XML end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
test_xml-0.0.1 | test/test_xml/test_test_unit.rb |