@api private
Wraps `setup` calls from within Rails' testing framework in `before` hooks.
# File lib/rspec/rails/adapters.rb, line 14 def setup(*methods) methods.each {|method| before { send method } } end
@api private
Wraps `teardown` calls from within Rails' testing framework in `after` hooks.
# File lib/rspec/rails/adapters.rb, line 22 def teardown(*methods) methods.each {|method| after { send method } } end