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