class Capybara::RSpecMatchers::Matchers::HaveSibling
Public Instance Methods
description()
click to toggle source
# File lib/capybara/rspec/matchers/have_sibling.rb, line 17 def description "have sibling #{query.description}" end
element_does_not_match?(el)
click to toggle source
# File lib/capybara/rspec/matchers/have_sibling.rb, line 13 def element_does_not_match?(el) el.assert_no_sibling(*@args, &@filter_block) end
element_matches?(el)
click to toggle source
# File lib/capybara/rspec/matchers/have_sibling.rb, line 9 def element_matches?(el) el.assert_sibling(*@args, &@filter_block) end
query()
click to toggle source
# File lib/capybara/rspec/matchers/have_sibling.rb, line 21 def query @query ||= Capybara::Queries::SiblingQuery.new(*session_query_args, &@filter_block) end