unittests/windows/jscriptExtraConfirmCancel.rb in watir-1.5.6 vs unittests/windows/jscriptExtraConfirmCancel.rb in watir-1.6.2
- old
+ new
@@ -1,5 +1,5 @@
-$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', '..') if $0 == __FILE__
+$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', '..') unless $SETUP_LOADED
require 'watir/WindowHelper'
helper = WindowHelper.new
\ No newline at end of file