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

- old
+ new

@@ -1,17 +1,17 @@ -# feature tests for Tables -# revision: $Revision: 1076 $ - -$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') unless $SETUP_LOADED -require 'unittests/setup' - -class TC_Nbsp_Xpath < Test::Unit::TestCase - - def setup - goto_page "xpath_nbsp.html" - end - - def test_nbsp - div = browser.element_by_xpath("//div") - assert(div.innerText, "Hello world") - end +# feature tests for Tables +# revision: $Revision: 1076 $ + +$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') unless $SETUP_LOADED +require 'unittests/setup' + +class TC_Nbsp_Xpath < Test::Unit::TestCase + + def setup + goto_page "xpath_nbsp.html" + end + + def test_nbsp + div = browser.element_by_xpath("//div") + assert(div.innerText, "Hello world") + end end \ No newline at end of file