unittests/windows/ie-each_test.rb in watir-1.5.6 vs unittests/windows/ie-each_test.rb in watir-1.6.2
- old
+ new
@@ -1,7 +1,7 @@
# Not intended to be run as part of a larger suite.
-$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', '..') if $0 == __FILE__
+$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', '..') unless $SETUP_LOADED
require 'test/unit'
require 'watir'
require 'watir/process'
require 'watir/waiter'
\ No newline at end of file