Sha256: dac1e5c9578fd782d96032454996d05aeb7e02de68bd5971c3371a1287e6cc70
Contents?: true
Size: 385 Bytes
Versions: 2
Compression:
Stored size: 385 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), "helper")) class TestContentType < Test::Unit::TestCase def setup @agent = Mechanize.new end def test_application_xhtml_xml url = 'http://localhost/content_type_test?ct=application/xhtml%2Bxml' page = @agent.get url assert_equal Mechanize::Page, page.class, "xhtml docs should return a Page" end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
kitamomonga-mechanize-0.9.3.20090724215219 | test/test_content_type.rb |
tenderlove-mechanize-0.9.3.20090911221705 | test/test_content_type.rb |