How to configure postgresql databases on different drives ?

Is it possible to configure postgresql so that the development database is on one drive, and the test database is on another drive (an SSD in this case) ?

Can this be done with database.yml, or some other method ? I'm using Windows 7.