unittests/checkbox_xpath_test.rb in watir-2.0.0.rc2 vs unittests/checkbox_xpath_test.rb in watir-2.0.0.rc3

- old
+ new

@@ -1,11 +1,11 @@ # feature tests for Check Boxes $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') unless $SETUP_LOADED require 'unittests/setup' -class TC_Checkbox_XPath < Test::Unit::TestCase +class TC_CheckBox_XPath < Test::Unit::TestCase include Watir::Exception def setup goto_page "checkboxes1.html" end @@ -25,10 +25,10 @@ assert_equal("box4-value5" , browser.checkbox(:xpath , "//input[@name='box4' and @value='5']/").title) assert_equal("" , browser.checkbox(:xpath , "//input[@name='box4' and @value='4']/").title) end - def test_Checkbox_Exists + def test_CheckBox_Exists assert(browser.checkbox(:xpath , "//input[@name='box4' and @value='1']/").exists?) assert_false(browser.checkbox(:xpath , "//input[@name='box4' and @value='22']/").exists?) end def test_checkbox_Enabled