spec/watirspec/links_spec.rb in watir-webdriver-0.0.6 vs spec/watirspec/links_spec.rb in watir-webdriver-0.0.7
- old
+ new
@@ -1,6 +1,6 @@
# encoding: utf-8
-require File.dirname(__FILE__) + '/spec_helper'
+require File.expand_path('spec_helper', File.dirname(__FILE__))
describe "Links" do
before :each do
browser.goto(WatirSpec.files + "/non_control_elements.html")