class Capybara::RSpecMatchers::HaveNoSelectors
Public Instance Methods
description()
click to toggle source
# File lib/capybara/rspec/matchers.rb, line 104 def description 'have no selectors' end
does_not_match?(_actual)
click to toggle source
# File lib/capybara/rspec/matchers.rb, line 100 def does_not_match?(_actual) raise ArgumentError, 'The have_none_of_selectors matcher does not support use with not_to/should_not' end
matches?(actual)
click to toggle source
# File lib/capybara/rspec/matchers.rb, line 96 def matches?(actual) wrap_matches?(actual) { |el| el.assert_none_of_selectors(*@args, &@filter_block) } end