Module: Capybara::DSL
- Includes:
- DSLRSpecProxyInstaller
- Defined in:
- lib/isomorfeus/puppetmaster/rspec/matcher_proxies.rb
Class Method Summary collapse
Methods included from DSLRSpecProxyInstaller
Class Method Details
.included(base) ⇒ Object
28 29 30 31 32 33 34 |
# 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 |