Help - Overwrote database

Hey all. Hope you can help with this. I was running “rake” to run
tests on my server we are setting up for production. I’m currently
entering all my data into the dev database. After running “rake”, my
dev database looked just like my test database. It overwrote all my
data??!!??

I was using the same db for production and development if that
matters. My database.yml file is as follows:

development:
adapter: mysql
database: jcadev
host: localhost
username: jca
password: *************

Warning: The database defined as ‘test’ will be erased and

re-generated from your development database when you run ‘rake’.

Do not set this db to the same as development or production.

test:
adapter: mysql
database: jcatest
host: localhost
username: jca
password: ************r

production:
development

Why would the development db be affected when running a rake test??

–Ryan