Permalink
Browse files

name is not a valid attribute for link;

IE#cell method doesn't exist anymore
  • Loading branch information...
1 parent d592645 commit 2a64515614185f7222950320750b0a31d807b334 @jarmo jarmo committed Mar 12, 2012
Showing with 1 addition and 6 deletions.
  1. +1 −6 watir/unittests/css_selector_test.rb
View
7 watir/unittests/css_selector_test.rb
@@ -37,13 +37,8 @@ def test_image
assert_equal( "circle", browser.image(:css, "*[id ^= 'circ']").id )
end
- def test_link
- goto_page "links1.html"
- assert_equal( "link_name", browser.link(:css, "*[name *= ink_nam]").name )
- end
-
def test_table
goto_page "table1.html"
- assert_equal( "Header", browser.cell(:css , ".sample th").text )
+ assert_equal( "Header", browser.th(:css , ".sample th").text )
end
end

0 comments on commit 2a64515

Please sign in to comment.