class Capybara::RSpecMatchers::HaveSelector
def description
def description "have #{query.description}" end
def does_not_match?(actual)
def does_not_match?(actual) wrap_does_not_match?(actual) { |el| el.assert_no_selector(*@args, &@filter_block) } end
def matches?(actual)
def matches?(actual) wrap_matches?(actual) { |el| el.assert_selector(*@args, &@filter_block) } end
def query
def query @query ||= Capybara::Queries::SelectorQuery.new(*session_query_args, &@filter_block) end