module RSpec::Rails::SetupAndTeardownAdapter::ClassMethods

def setup(*methods, &block)

hooks.
Wraps `setup` calls from within Rails' testing framework in `before`
def setup(*methods, &block)
  methods.each do |method|
    if method.to_s =~ /^setup_(with_controller|fixtures|controller_request_and_response)$/
      prepend_before { __send__ method }
    else
      before         { __send__ method }
    end
  end
  before(&block) if block
end

def teardown(*methods, &block)

Other tags:
    Api: - private
def teardown(*methods, &block)
  methods.each { |method| after { __send__ method } }
  after(&block) if block
end