Module: Spec::Example::ExampleGroupMethods

Defined in:
lib/blindfold/spec/monkey.rb

Instance Method Summary collapse

Instance Method Details

#cleanup(&block) ⇒ Object



7
8
9
# File 'lib/blindfold/spec/monkey.rb', line 7

def cleanup(&block)
  after :all, &block
end

#prepare(&block) ⇒ Object



4
5
6
# File 'lib/blindfold/spec/monkey.rb', line 4

def prepare(&block)
  before :all, &block
end