[rspec-users] Run cucumber on a different DB than test?
fkchang2000 at yahoo.com
Fri Feb 27 14:59:12 EST 2009
> > Yeah, and certain rake tasks won't work, if I recall properly.
> > RAILS_ENV=another_env rake db:test:prepare still reset the test
> > database, not the db in another_env.
> > Scott
> Indeed. I do have a fully-functioning rake db:features:prepare task
> which I can share if anyone's interested.
I ran into this very same issue that Scott points out and you have apparently solved, so I'm definitely interested.
So with this setup you can do a 'rake spec' and have it run on the test DB, and 'rake features' and have it run on the features DB?
More information about the rspec-users