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)


  config.prepend_before(:type => :farm)
Show source
Register or log in to add new notes.