test/test_set_fields.rb in mechanize-0.9.3 vs test/test_set_fields.rb in mechanize-1.0.0

- old
+ new

@@ -1,9 +1,9 @@ -require File.expand_path(File.join(File.dirname(__FILE__), "helper")) +require "helper" class TestSetFields < Test::Unit::TestCase def setup - @agent = WWW::Mechanize.new + @agent = Mechanize.new @page = @agent.get("http://localhost/form_set_fields.html") @form = @page.forms.first end def test_set_no_fields