Sha256: d6da75e0e15b7f5362d963cbe6b26ee1c68c38fcc446254a6296728cc804154d
Contents?: true
Size: 329 Bytes
Versions: 8
Compression:
Stored size: 329 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), "helper")) class RequestTest < Test::Unit::TestCase def setup @agent = WWW::Mechanize.new end def test_uri_is_not_polluted uri = URI.parse('http://localhost/') @agent.get(uri, {'q' => 'Ruby'}) assert_equal 'http://localhost/', uri.to_s end end
Version data entries
8 entries across 8 versions & 5 rubygems