Method: RWebUnit::Assert#assert_button_not_present_with_text

Defined in:
lib/rwebunit/assert.rb

#assert_button_not_present_with_text(text) ⇒ Object



215
216
217
218
219
# File 'lib/rwebunit/assert.rb', line 215

def assert_button_not_present_with_text(text)
  @web_browser.buttons.each { |button|
    assert(button.value != text, "unexpected button id: #{text} found")
  }
end