class Capybara::Queries::AncestorQuery
def description
def description child_query = @child_node && @child_node.instance_variable_get(:@query) desc = super desc += " that is an ancestor of #{child_query.description}" if child_query desc end
def description child_query = @child_node && @child_node.instance_variable_get(:@query) desc = super desc += " that is an ancestor of #{child_query.description}" if child_query desc end