unittests/windows/open_close_test.rb in watir-1.6.2 vs unittests/windows/open_close_test.rb in watir-1.6.5
- old
+ new
@@ -1,19 +1,19 @@
-# rapidly open and close IE windows
-
-$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', '..', 'lib')
-$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'watir-common', 'lib')
-require 'test/unit'
-require 'watir/ie'
-require 'watir/contrib/ie-new-process'
-
-class ZZ_OpenClose < Test::Unit::TestCase
- 20.times do | i |
- define_method "test_#{i}" do
- sleep 0.05
- sleep i * 0.01
- ie = Watir::IE.new_process
- ie.goto 'http://blogs.dovetailsoftware.com/blogs/gsherman/default.aspx'
- ie.close
- end
- end
+# rapidly open and close IE windows
+
+$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', '..', 'lib')
+$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'commonwatir', 'lib')
+require 'test/unit'
+require 'watir/ie'
+require 'watir/contrib/ie-new-process'
+
+class ZZ_OpenClose < Test::Unit::TestCase
+ 20.times do | i |
+ define_method "test_#{i}" do
+ sleep 0.05
+ sleep i * 0.01
+ ie = Watir::IE.new_process
+ ie.goto 'http://blogs.dovetailsoftware.com/blogs/gsherman/default.aspx'
+ ie.close
+ end
+ end
end
\ No newline at end of file