I\'m using Rspec for testing. However, it uses my development DB instead of my test DB. How can this occur?
I simply use rspec to run my tests: don:my_project_root
don:my_project_root
I randomly had $DATABASE_URL defined in my .bashrc file to point directly to my development database. Took me a few hours to find that.
$DATABASE_URL
.bashrc