class Capybara::RSpecMatchers::Matchers::HaveSelector::HaveAllSelectors
Public Instance Methods
description(= 'have all selectors')
click to toggle source
# File lib/capybara/rspec/matchers/have_selector.rb, line 41 def description = 'have all selectors' end
does_not_match?(_actual)
click to toggle source
# File lib/capybara/rspec/matchers/have_selector.rb, line 37 def does_not_match?(_actual) raise ArgumentError, 'The have_all_selectors matcher does not support use with not_to/should_not' end
element_matches?(el)
click to toggle source
# File lib/capybara/rspec/matchers/have_selector.rb, line 33 def element_matches?(el) el.assert_all_of_selectors(*@args, **session_query_options, &@filter_block) end