Sha256: 06b936dc7adf067d6d325244a97b32f466a19ccabbea24f72823128cab867485
Contents?: true
Size: 395 Bytes
Versions: 15
Compression:
Stored size: 395 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), "helper")) class TestContentType < Test::Unit::TestCase def setup @agent = WWW::Mechanize.new end def test_application_xhtml_xml url = 'http://localhost/content_type_test?ct=application/xhtml%2Bxml' page = @agent.get url assert_equal WWW::Mechanize::Page, page.class, "xhtml docs should return a Page" end end
Version data entries
15 entries across 15 versions & 5 rubygems