Module: Specify::Spec

Defined in:
lib/specify/spec.rb

Class Method Summary collapse

Class Method Details

.included(caller) ⇒ Object

rubocop:disable Metrics/MethodLength



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/specify/spec.rb', line 4

def self.included(caller)
  caller.instance_eval do
    alias :Feature    :context
    alias :feature    :context
    alias :Ability    :context
    alias :ability    :context
    alias :Component  :context
    alias :component  :context
    alias :Workflow   :context
    alias :workflow   :context
    alias :Service    :context
    alias :service    :context

    alias :Background :before
    alias :Setup      :before
    alias :Teardown   :after
    alias :Cleanup    :after
  end
end