Method: Spec::Runner::Configuration#append_after

Defined in:
lib/spec/runner/configuration.rb

#append_after(scope = :each, options = {}, &proc) ⇒ Object

Appends a global after block to all example groups.

See append_before for scoping semantics.

[View source]

123
124
125
# File 'lib/spec/runner/configuration.rb', line 123

def append_after(scope = :each, options={}, &proc)
  add_callback(:append_after, scope, options, &proc)
end