On 27 Feb 2009, at 19:59, Forrest Chang wrote:
Hi Matt:
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.
voila: http://gist.github.com/71918
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?
Exactly. I usually have a couple of tabs open in the terminal and run
one in each.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users