Method: MiniSpec::ClassAPI#after_all
- Defined in:
- lib/minispec/api/class/after.rb
#after_all(&proc) ⇒ Object Also known as: after!
Note:
this callback will run even if there are failed tests.
code to run once after all tests finished. this callback will run only once. for callbacks that runs after any test @see #after
35 36 37 38 |
# File 'lib/minispec/api/class/after.rb', line 35 def after_all &proc proc || raise(ArgumentError, 'block is missing') @after_all = proc end |