Topic: when I run tests it uses development database instead of test
I am just starting doing tests. I don't have rSpec or anything.
When I run 'rake test' my development database gets wiped and the data from the fixtures gets inserted. Both databases are fully migrated. The test database is always empty.
development: adapter: sqlite3 database: db/development.sqlite3 pool: 5 timeout: 5000 test: adapter: sqlite3 database: db/test.sqlite3 pool: 5 timeout: 5000
I don't know what else to say, this is a complete mystery to me.