#failure_message, #failure_message_when_negated
Instance Method Summary collapse#above, #below, #left_of, #near, #right_of
Methods included from CountSugar#at_least, #at_most, #exactly, #once, #thrice, #times, #twice
Methods inherited from WrappedElementMatcher Methods inherited from Base Methods included from Compound Instance Method Details #description ⇒ Object17 18 19
# File 'lib/capybara/rspec/matchers/have_ancestor.rb', line 17 def description "have ancestor #{query.description}" end#element_does_not_match?(el) ⇒ Boolean
13 14 15
# File 'lib/capybara/rspec/matchers/have_ancestor.rb', line 13 def element_does_not_match?(el) el.assert_no_ancestor(*@args, **session_query_options, &@filter_block) end#element_matches?(el) ⇒ Boolean
9 10 11
# File 'lib/capybara/rspec/matchers/have_ancestor.rb', line 9 def element_matches?(el) el.assert_ancestor(*@args, **session_query_options, &@filter_block) end#query ⇒ Object
21 22 23 24
# File 'lib/capybara/rspec/matchers/have_ancestor.rb', line 21 def query @query ||= Capybara::Queries::AncestorQuery.new(*session_query_args, **session_query_options, &@filter_block) end
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4