I am using selenium-client to operate a couple of tests, but Selenium appears to become using my development database. How do i point it to make use of my test DB?

You have to point Selenium to some site that utilizes the exam databases. Selenium foretells your rails, not the database. So, you have to point Selenium to some web application whose config indicates your test db, not the dev db.

Hope that can help.

You have to point the Selenium test at a clear case of your application that utilizes the exam database.

I authored another deploy task during my capistrano deploy.rb that deploys the applying to some testing server, points it in the test db, and loads the selenium-specific fittings. Selenium goodies a used application like a black box, so the choice is yours to suit everything directly into your overall deployment setup.