Module: Capybara::Features

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

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



29
30
31
32
33
34
35
36
37
38
# File 'lib/capybara/rspec/features.rb', line 29

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