tests/test-html.rb
# This tests for the existence of a clear selected button
This tests for the existence of a clear selected button
This tests for the existence of a clear selected button
def clearSelected?
    button = @html.css("div.wrapper h2.clear").text
    if blank?(button)
      add_issue("Page is missing a clear selected button")
    end
  end
def clearSelected? button = @html . css ( "div.wrapper h2.clear" ) . text if blank? ( button ) add_issue ( "Page is missing a clear selected button" ) end end
This tests for the existence of a clear selected button
This tests for the existence of a clear selected button