class Capybara::RSpecMatchers::Matchers::HaveNoSelectors
Public Instance Methods
Source
# File lib/capybara/rspec/matchers/have_selector.rb, line 57 def description 'have no selectors' end
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
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