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