Class: Capybara::RSpecMatchers::Matchers::HaveAnySelectors
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 65
def description = 'have any selectors'
#does_not_match?(el) ⇒ Boolean
# File 'lib/capybara/rspec/matchers/have_selector.rb', line 61
def does_not_match?(el) el.assert_none_of_selectors(*@args, **, &@filter_block) end
#element_matches?(el) ⇒ Boolean
# File 'lib/capybara/rspec/matchers/have_selector.rb', line 57
def element_matches?(el) el.assert_any_of_selectors(*@args, **, &@filter_block) end