Method: RWebUnit::Assert#assert_link_not_present_with_exact
- Defined in:
- lib/rwebunit/assert.rb
#assert_link_not_present_with_exact(link_text) ⇒ Object
59 60 61 62 63 |
# File 'lib/rwebunit/assert.rb', line 59 def assert_link_not_present_with_exact(link_text) @web_browser.links.each { |link| assert(link_text != link.text, "unexpected link (exact): #{link_text} found") } end |