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