fix bad commit

This commit is contained in:
Thomas Walpole 2017-01-18 19:33:52 -08:00
parent 1a21567b9a
commit 92098f44b0
1 changed files with 0 additions and 1 deletions

View File

@ -62,7 +62,6 @@ module Capybara
if @node and check_visible_text? and report_on_invisible
begin
raise Selenium::WebDriver::Error::UnknownError
invisible_text = text(@node, :all)
invisible_count = invisible_text.scan(@search_regexp).size
if invisible_count != @count