# File lib/capybara/rspec/matchers.rb, line 120 def have_content(text) HaveMatcher.new(:content, text.to_s) do |page, matcher| %(expected there to be content #{matcher.locator.inspect} in #{page.text.inspect}) end end