method
append_before

1.1.4 -
Show latest stable
-
0 notes -
Class: Spec::Example::Configuration
- 1.1.4 (0)
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
append_before(*args, &proc)
public
Appends a global before block to all example groups.
If you want to restrict the block to a subset of all the example groups then specify this in a Hash as the last argument:
config.prepend_before(:all, :type => :farm)
or
config.prepend_before(:type => :farm)