Method: Capybara::RSpecMatchers#have_content

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

#have_contentObject

RSpec matcher for text content.


133
134
135
# File 'lib/capybara/rspec/matchers.rb', line 133

def have_text(text_or_type, *args, **options)
  Matchers::HaveText.new(text_or_type, *args, **options)
end