Module: Capybara::Features

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

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



19
20
21
22
23
24
25
26
27
28
# File 'lib/capybara/rspec/features.rb', line 19

def self.included(base)
  base.instance_eval do
    alias :background :before
    alias :scenario :it
    alias :xscenario :xit
    alias :given :let
    alias :given! :let!
    alias :feature :describe
  end
end