rspec - After Rails 3 upgrade rake db:test:prepare not working? -


i have gone through process of upgrading rails 2.3.11 app uses test unit rails 3.1.rc4 , have set rspec-rails 2.6.1.

i switch test connection in database.yml use sqlite instead of postgres.

i can run rake db:migrate , db:test:prepare day, in model tests "could not find table 'model_name'".

has else ran this?

i did encounter before. try rebuilding scratch:

rake db:drop rails_env=test rake db:create rails_env=test rake db:migrate rails_env=test 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -