class Capybara::RSpecMatchers::Matchers::HaveSibling

def description

def description
  "have sibling #{query.description}"
end

def element_does_not_match?(el)

def element_does_not_match?(el)
  el.assert_no_sibling(*@args, **session_query_options, &@filter_block)
end

def element_matches?(el)

def element_matches?(el)
  el.assert_sibling(*@args, **session_query_options, &@filter_block)
end

def query

def query
  @query ||= Capybara::Queries::SiblingQuery.new(*session_query_args, **session_query_options, &@filter_block)
end