Sha256: df8916b9c6eb24027c630c5fedd4b7f9aeeac15f3081290415926c66bf6b7956
Contents?: true
Size: 324 Bytes
Versions: 2
Compression:
Stored size: 324 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), "helper")) class RequestTest < Test::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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
kitamomonga-mechanize-0.9.3.20090724215219 | test/test_request.rb |
tenderlove-mechanize-0.9.3.20090911221705 | test/test_request.rb |