Class: Capybara::RSpecMatchers::Matchers::HaveAllSelectors
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 41
def description = 'have all selectors'
#does_not_match?(_actual) ⇒ Boolean
# File 'lib/capybara/rspec/matchers/have_selector.rb', line 37
def does_not_match?(_actual) raise ArgumentError, 'The have_all_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 33
def element_matches?(el) el.assert_all_of_selectors(*@args, **, &@filter_block) end