[rspec-users] rake spec seems to not clean the database after failing specs

Doug dgoldie15 at gmail.com
Mon Dec 28 18:56:13 EST 2009

running all specs with 'rake spec'

working on a spec that gets run last.
when run individually, it is green.
but in 'rake spec' it fails because the database is dirty

I'm guessing this is caused by early specs that fail as well
is this normal?

if that's the problem, what's the best way to force the database to be
cleaned after each scenario?

I have database_cleaner (with cucumber), but just the default


More information about the rspec-users mailing list