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