Sha256: c2ccf1ba368f3ce4dc36fdd610e5cfa3a4719b9dd4d8768b92350ca9ce16fbfc
Contents?: true
Size: 275 Bytes
Versions: 3
Compression:
Stored size: 275 Bytes
Contents
require "helper" class RequestTest < MiniTest::Unit::TestCase def setup @agent = 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
3 entries across 3 versions & 3 rubygems
Version | Path |
---|---|
aai10-mechanize-2.0.1.0 | test/test_request.rb |
neocoin-mechanize-2.0.2 | test/test_request.rb |
mechanize-2.0.1 | test/test_request.rb |