test/test_select_noopts.rb in mechanize-0.7.8 vs test/test_select_noopts.rb in mechanize-0.8.0
- old
+ new
@@ -1,5 +1,5 @@
-require File.dirname(__FILE__) + "/helper"
+require File.expand_path(File.join(File.dirname(__FILE__), "helper"))
class SelectNoOptionsTest < Test::Unit::TestCase
def setup
@agent = WWW::Mechanize.new
@page = @agent.get("http://localhost/form_select_noopts.html")