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