class Capybara::RSpecMatchers::Matchers::HaveNoSelectors

Public Instance Methods

description() click to toggle source
# File lib/capybara/rspec/matchers/have_selector.rb, line 57
def description
  'have no selectors'
end
does_not_match?(_actual) click to toggle source
# File lib/capybara/rspec/matchers/have_selector.rb, line 53
def does_not_match?(_actual)
  raise ArgumentError, 'The have_none_of_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 49
def element_matches?(el)
  el.assert_none_of_selectors(*@args, **session_query_options, &@filter_block)
end