lib/rspec/rails/adapters.rb in rspec-rails-2.9.0 vs lib/rspec/rails/adapters.rb in rspec-rails-2.10.0

- old
+ new

@@ -10,10 +10,10 @@ # @api private # # Wraps `setup` calls from within Rails' testing framework in `before` # hooks. def setup(*methods) - methods.each {|method| before { send method } } + methods.each {|method| prepend_before { send method } } end # @api private # # Wraps `teardown` calls from within Rails' testing framework in