Method: OSpec::ExampleGroup#after
- Defined in:
- lib/ospec/example_group.rb
#after(type = :each, &block) ⇒ Object
39 40 41 42 |
# File 'lib/ospec/example_group.rb', line 39 def after type = :each, &block raise "unsupported after type: #{type}" unless type == :each @after_hooks << block end |