lib/kelp/visibility.rb
# Ensure that the current page content does not include a String.
#
# @deprecated
#   Use {#should_not_see} instead
#
# @param [String] text
#   Content you expect to be missing from the page
#
Ensure that the current page content does not include a String.
Ensure that the current page content does not include a String .
def page_should_not_contain_text(text)
      warn "WARNING: page_should_not_contain_text is deprecated. Use should_not_see instead."
      if page.has_content?(text)
        raise Kelp::Unexpected
      end
    end
def page_should_not_contain_text ( text ) warn "WARNING: page_should_not_contain_text is deprecated. Use should_not_see instead." if page . has_content? ( text ) raise Kelp :: Unexpected end end
Ensure that the current page content does not include a String.
Ensure that the current page content does not include a String .
text
<not_specific>
<not_specific>
text Content you expect to be missing from the page
text Content you expect to be missing from the page
deprecated
Use {#should_not_see} instead
Use { #should_not_see } instead