Module: Capybara::DSLRSpecProxyInstaller::ClassMethods

Defined in:
lib/capybara/rspec/matcher_proxies.rb

Instance Method Summary collapse

Instance Method Details

#included(base) ⇒ Object



24
25
26
27
28
29
# File 'lib/capybara/rspec/matcher_proxies.rb', line 24

def included(base)
  if defined?(::RSpec::Matchers)
    base.include(::Capybara::RSpecMatcherProxies) if base.include?(::RSpec::Matchers)
  end
  super
end