Method: Capybara::RSpecMatchers#have_content
- Defined in:
- lib/capybara/rspec/matchers.rb
#have_content ⇒ Object
RSpec matcher for text content.
138 139 140 |
# File 'lib/capybara/rspec/matchers.rb', line 138 def have_text(text_or_type, *args, **) Matchers::HaveText.new(text_or_type, *args, **) end |