module Spec
Defined in:
Class Method Summary
- .add_formatter(formatter)
-
.after_each(&block)
Instructs the spec runner to execute the given block after each spec, regardless of where this method is invoked.
-
.before_each(&block)
Instructs the spec runner to execute the given block before each spec, regardless of where this method is invoked.
- .override_default_formatter(formatter)
Class Method Detail
def self.after_each(&block)
#
Instructs the spec runner to execute the given block after each spec, regardless of where this method is invoked.
def self.before_each(&block)
#
Instructs the spec runner to execute the given block before each spec, regardless of where this method is invoked.