class Capybara::RSpecMatchers::HaveNoSelectors

Public Instance Methods

description() click to toggle source
# File lib/capybara/rspec/matchers.rb, line 103
def description
  'have no selectors'
end
does_not_match?(_actual) click to toggle source
# File lib/capybara/rspec/matchers.rb, line 99
def does_not_match?(_actual)
  raise ArgumentError, 'The have_none_of_selectors matcher does not support use with not_to/should_not'
end
matches?(actual) click to toggle source
# File lib/capybara/rspec/matchers.rb, line 95
def matches?(actual)
  wrap_matches?(actual) { |el| el.assert_none_of_selectors(*@args, &@filter_block) }
end