unittests/speed_settings_test.rb in watir-1.5.4 vs unittests/speed_settings_test.rb in watir-1.5.5
- old
+ new
@@ -1,13 +1,12 @@
# tests for ability to set defaults for Watir
-# revision: $Revision: 1293 $
+# revision: $Revision: 1319 $
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE__
require 'test/unit'
require 'watir'
class TC_instance_options < Test::Unit::TestCase
- include Watir
def test_using_default
@ie1 = Watir::IE.new
@ie1.speed = :fast
assert_equal(:fast, @ie1.speed)
@@ -23,10 +22,10 @@
class TC_class_options < Test::Unit::TestCase
include Watir
@@hide_ie = $HIDE_IE
def setup
- @previous = Watir::IE.defaults
+ @previous = IE.defaults
end
def test_class_defaults
assert_equal({:speed => :slow, :visible => ! @@hide_ie}, IE.defaults)
end
def test_change_defaults
\ No newline at end of file