test/test_forms.rb in tenderlove-mechanize-0.9.3.20090623142847 vs test/test_forms.rb in tenderlove-mechanize-0.9.3.20090911221705
- old
+ new
@@ -1,9 +1,9 @@
require File.expand_path(File.join(File.dirname(__FILE__), "helper"))
class FormsMechTest < Test::Unit::TestCase
def setup
- @agent = WWW::Mechanize.new
+ @agent = Mechanize.new
end
def test_no_form_action
page = @agent.get('http://localhost:2000/form_no_action.html')
page.forms.first.fields.first.value = 'Aaron'