unittests/nbsp_xpath_test.rb in watir-1.5.4 vs unittests/nbsp_xpath_test.rb in watir-1.5.5

- old
+ new

@@ -2,17 +2,16 @@ # revision: $Revision: 1076 $ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE__ require 'unittests/setup' -class TC_Tables < Test::Unit::TestCase - include Watir +class TC_Nbsp_Xpath < Test::Unit::TestCase def setup - $ie.goto($htmlRoot + "xpath_nbsp.html") + goto_page "xpath_nbsp.html" end def test_nbsp - div = $ie.element_by_xpath("//div") - assert(div.innerText, "Hello world") + div = $ie.element_by_xpath("//div") + assert(div.innerText, "Hello world") end end \ No newline at end of file