Method: Capybara::RSpecMatchers#have_content

Defined in:
lib/capybara/rspec/matchers.rb

#have_contentObject

RSpec matcher for text content.



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