Permalink
Browse files

fix test

  • Loading branch information...
1 parent 6297e11 commit 45932bfbac9ccd4e349876660afe57097f59178a @jarmo jarmo committed Mar 12, 2012
Showing with 0 additions and 14 deletions.
  1. +0 −14 watir/unittests/links_multi_test.rb
@@ -31,18 +31,4 @@ def test_class_and_index
assert_match(/papa.html/, browser.link(:class => 'Papa', :index => 1).href)
end
- def test_not_found_single
- exception = assert_raise(UnknownObjectException) do
- browser.link(:id, 'Missing').href
- end
- assert_equal('Unable to locate element, using :id, "Missing"', exception.message)
- end
-
- def test_not_found_with_multi
- exception = assert_raise(UnknownObjectException) do
- browser.link(:class => 'Missing', :index => 1).href
- end
- assert_equal('Unable to locate element, using {:class=>"Missing", :index=>1}', exception.message)
- end
-
end

0 comments on commit 45932bf

Please sign in to comment.