tests/test-html.rb
def plannerClass?
    div = @html.css("div.planner")

    if blank?(div)
      add_issue("Page does not contain a planner.")
    end
  end
# Checks to see if the page has a div with the planner class
Checks to see if the page has a div with the planner class
Checks to see if the page has a div with the planner class
def plannerClass?
    div = @html.css("div.planner")
    if blank?(div)
      add_issue("Page does not contain a planner.")
    end
  end
def plannerClass? div = @html . css ( "div.planner" ) if blank? ( div ) add_issue ( "Page does not contain a planner." ) end end
Checks to see if the page has a div with the planner class
Checks to see if the page has a div with the planner class