RSpec matcher for text content.
See Also:
138 139 140
# File 'lib/capybara/rspec/matchers.rb', line 138 def have_text(text_or_type, *args, **options) Matchers::HaveText.new(text_or_type, *args, **options) end