[rspec-users] Should I be using database_cleaner to tear down data in RSpec 2.0 + Rails 3.0?
dchelimsky at gmail.com
Sat Jun 5 14:12:44 EDT 2010
On Jun 5, 2010, at 12:42 PM, Brian Cardarella wrote:
> Subject pretty much asks the question
You _can_, but if you use ActiveRecord and start off with a clean DB, you can use_transactional_examples (alias for use_transactional_fixtures, which defaults to true in beta.10, but will default to false in beta.11).
More information about the rspec-users