test/test_blank_form.rb in mechanize-0.9.3 vs test/test_blank_form.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 BlankFormTest < Test::Unit::TestCase
def setup
- @agent = WWW::Mechanize.new
+ @agent = Mechanize.new
end
def test_blank_form_query_string
page = @agent.get('http://localhost/tc_blank_form.html')
form = page.forms.first