module Capybara::DSL
Public Class Methods
included(base)
click to toggle source
Calls superclass method
# File lib/isomorfeus/puppetmaster/rspec/matcher_proxies.rb, line 28 def included(base) warn 'including Capybara::DSL in the global scope is not recommended!' if base == Object if defined?(::RSpec::Matchers) && base.include?(::RSpec::Matchers) base.send(:include, ::Capybara::RSpecMatcherProxies) end super end