Module: Capybara::Wheel::FeatureOverride

Defined in:
lib/capybara/wheel.rb

Instance Method Summary collapse

Instance Method Details

#feature(*args, &block) ⇒ Object



20
21
22
23
24
25
26
27
# File 'lib/capybara/wheel.rb', line 20

def feature(*args, &block)
  options = {
    type: :wheel_feature,
    caller: caller
  }
  options.merge!(args.pop) if args.last.is_a?(Hash)
  describe(*args, options, &block)
end