I have a naked rails 3 app with one model, generated using rails g model User.
rails g model User
I\'ve added a factory (using factory_girl_rails):
factory_girl_rails
Try to execute
rake db:test:prepare
This should fix your tests db.