Module: Capybara::Features

Defined in:
lib/rspectacular/plugins/features.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



15
16
17
18
19
20
21
22
23
24
# File 'lib/rspectacular/plugins/features.rb', line 15

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