test/test_textarea.rb in tenderlove-mechanize-0.9.3.20090623142847 vs test/test_textarea.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 TestTextArea < Test::Unit::TestCase
def setup
- @agent = WWW::Mechanize.new
+ @agent = Mechanize.new
@page = @agent.get("http://localhost/tc_textarea.html")
end
def test_empty_text_area
form = @page.forms_with(:name => 'form1').first