unittests/window_tests.rb in watir-1.6.2 vs unittests/window_tests.rb in watir-1.6.5

- old
+ new

@@ -1,7 +1,10 @@ -TOPDIR = File.join(File.dirname(__FILE__), '..') -$LOAD_PATH.unshift TOPDIR - -require 'unittests/setup.rb' - -Dir.chdir TOPDIR -$window_tests.each {|x| require x} +TOPDIR = File.join(File.dirname(__FILE__), '..') +$LOAD_PATH.unshift TOPDIR + +ENV['watir_visible'] = 'true' + +require 'unittests/setup.rb' + +Dir.chdir TOPDIR +$window_tests.each {|x| require x} +