Module: RSpec::Rails::DeprecatedCapybaraDSL::ClassMethods

Defined in:
lib/rspec/rails/vendor/capybara.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) include(mod)



21
22
23
24
25
26
27
# File 'lib/rspec/rails/vendor/capybara.rb', line 21

def include(mod)
  if mod == ::Capybara::DSL
    class_variable_set(:@@_rspec_capybara_included_explicitly, true)
  end

  super
end