module Capybara::RSpecMatcherProxies
Public Instance Methods
all(*args, &block)
click to toggle source
# File lib/capybara/rspec/matcher_proxies.rb, line 5 def all(*args, &block) if defined?(::RSpec::Matchers::BuiltIn::All) && args.first.respond_to?(:matches?) ::RSpec::Matchers::BuiltIn::All.new(*args) else find_all(*args, &block) end end
within(*args, &block)
click to toggle source
# File lib/capybara/rspec/matcher_proxies.rb, line 13 def within(*args, &block) if block_given? within_element(*args, &block) else be_within(*args) end end