class Capybara::RSpecMatchers::HaveAllSelectors
def description
def description "have all selectors" end
def does_not_match?(_actual)
def does_not_match?(_actual) raise ArgumentError, "The have_all_selectors matcher does not support use with not_to/should_not" end
def initialize(*args, &filter_block)
def initialize(*args, &filter_block) @args = args @filter_block = filter_block end
def matches?(actual)
def matches?(actual) wrap_matches?(actual) { |el| el.assert_all_of_selectors(*@args, &@filter_block) } end