Parent

Class/Module Index [+]

Quicksearch

OpmlTest

Public Instance Methods

test_malformed() click to toggle source
# File lib/feed_tools/vendor/html5/tests/test_lxp.rb, line 84
def test_malformed
  assert_xml_equal(
    '<opml version="1.0">' +
    '<body><outline text="Odds & Ends"/></body>' +
    '</opml>',
    '<opml version="1.0">' +
    '<body><outline text="Odds &amp; Ends"/></body>' +
    '</opml>')
end
test_mixedCaseAttribute() click to toggle source
# File lib/feed_tools/vendor/html5/tests/test_lxp.rb, line 77
def test_mixedCaseAttribute
  assert_xml_equal(
    '<opml version="1.0">' +
    '<body><outline isComment="true"/></body>' +
    '</opml>')
end
test_mixedCaseElement() click to toggle source
# File lib/feed_tools/vendor/html5/tests/test_lxp.rb, line 70
def test_mixedCaseElement
  assert_xml_equal(
    '<opml version="1.0">' +
    '<head><ownerName>Dave Winer</ownerName></head>' +
    '</opml>')
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.