Class: Capybara::RSpecMatchers::Matchers::HaveNoSelectors
  
  
  
  Instance Attribute Summary
  
  Attributes inherited from Base
  #failure_message, #failure_message_when_negated
  
    
      Instance Method Summary
      collapse
    
    
  
  
  
  
  
  
  
  
  
  
  #matches?
  
  
  
  
  
  
  
  
  Methods inherited from Base
  #initialize
  
  
  
  
  
  
  
  
  Methods included from Compound
  #and, #and_then, #or
  
  
    Instance Method Details
    
      
  
  
    #description  ⇒ Object 
  
  
  
  
    
      
55 
     | 
    
      # File 'lib/capybara/rspec/matchers/have_selector.rb', line 55
def description = 'have no selectors' 
     | 
  
 
    
      
  
  
    #does_not_match?(_actual)  ⇒ Boolean 
  
  
  
  
    
      
51
52
53 
     | 
    
      # File 'lib/capybara/rspec/matchers/have_selector.rb', line 51
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 
  
  
  
  
    
      
47
48
49 
     | 
    
      # File 'lib/capybara/rspec/matchers/have_selector.rb', line 47
def element_matches?(el)
  el.assert_none_of_selectors(*@args, **session_query_options, &@filter_block)
end 
     |