For those interested ....

rake spec:models seems to clone the test database from development. If 
your dev db is empty, the models task fails mysteriously.

Anyway, to make sure your dev db is at the current migration version, I 
added this dependency in lib/tasks

task 'spec:models' => 'db:migrate'

Now the dev db is migrated up with each test pass.

Keith
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to