I\'m playing with rails 4. I just created very simple test for my model but when I try to execute \"rake test:models\" I get following error:
C:\\rails\\proj
One way I was able to get around this error was using
rake db:migrate rails_env=test
This generated the necessary migrations on my test.sqlite3
I believe the default setting for rails_env is "dev" but this may vary. I am still very new to rails but I hope this helps.
I had the same problem with my test.sqlite3
table and what worked for me was making a copy of my development.sqlite3
table and renaming it test.sqlite3
. I hope this works for you.