Class: Capybara::RSpecMatchers::Matchers::HaveNoSelectors
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
WrappedElementMatcher ,
Base
|
|
Instance Chain:
|
|
Inherits: |
Capybara::RSpecMatchers::Matchers::WrappedElementMatcher
|
Defined in: | lib/capybara/rspec/matchers/have_selector.rb |
Class Method Summary
Instance Attribute Summary
Base
- Inherited
Instance Method Summary
Constructor Details
This class inherits a constructor from Capybara::RSpecMatchers::Matchers::Base
Instance Method Details
#description
[ GitHub ]# File 'lib/capybara/rspec/matchers/have_selector.rb', line 53
def description = 'have no selectors'
#does_not_match?(_actual) ⇒ Boolean
# File 'lib/capybara/rspec/matchers/have_selector.rb', line 49
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) ⇒ Boolean
# File 'lib/capybara/rspec/matchers/have_selector.rb', line 45
def element_matches?(el) el.assert_none_of_selectors(*@args, **, &@filter_block) end