Methods
S
T
Instance Public methods
setup(*methods)

@api private

Wraps `setup` calls from within Rails' testing framework in `before` hooks.

# File rspec/rails/adapters.rb, line 14
def setup(*methods)
  methods.each {|method| before { send method } }
end
teardown(*methods)

@api private

Wraps `teardown` calls from within Rails' testing framework in `after` hooks.

# File rspec/rails/adapters.rb, line 22
def teardown(*methods)
  methods.each {|method| after { send method } }
end