[rspec-users] RSpec and PostgreSQL not playing nicely together

Fernando Perez lists at ruby-forum.com
Tue Nov 4 16:10:48 EST 2008


Thanks Ashley. And I am sure I will forget to run migration for the test 
environment each time I make changes to it. I will create a dumb script 
that looks like:
--
RAILS_ENV=production rake db:migrate
RAILS_ENV=test rake db:migrate
...


It's not DRY but it's so easy to read with so little lines of code. Well 
it would be very easy to refactor.
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list