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