My trouble arose in Chapter 11 of the Ruby on Rails Tutorial here.
I was seeing this rspec error:
Failure/Error: :user => Factory(:user, :email =&
This works for me:
bundle exec rake db:test:prepare
It's also in the tutorial.