test/tc_save_file.rb in mechanize-0.6.11 vs test/tc_save_file.rb in mechanize-0.7.0
- old
+ new
@@ -1,15 +1,7 @@
-$:.unshift File.join(File.dirname(__FILE__), "..", "lib")
+require File.dirname(__FILE__) + "/helper"
-require 'test/unit'
-require 'rubygems'
-require 'mechanize'
-require 'test_includes'
-require 'fileutils'
-
class TestSaveFile < Test::Unit::TestCase
- include TestMethods
-
def setup
@agent = WWW::Mechanize.new
end
def test_save_file