[rspec-users] RSpec, Rails, ObjectDaddy and transactions
tim at pivotib.com
Fri Sep 26 12:38:16 EDT 2008
I've started playing around with object daddy and have a question? How
do I ensure that anything created during a spec example gets rolled
back before the next one?
Without that ability, it starts messing with models that have unique
columns on successive runs of my specs.
Oh, and I do have this line in my spec_helper:
config.use_transactional_fixtures = true
I assume that only does anything to fixtures, specifically
More information about the rspec-users