module Specify::Spec

Public Class Methods

included(caller) click to toggle source

rubocop:disable Metrics/MethodLength

# 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