Flowdock
method

append_before

Importance_1
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Example::Configuration

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.4) is shown here.

These similar methods exist in 1.3.1:

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)
Show source
Register or log in to add new notes.