title: Can Rails unit tests be run on a different environment than test?
body: <p>We have a large multi-developer project under Rails in which we are using tests for both models and controllers. Right now the developers have to switch the DB parameters for the 'test' environment to match their local dev environments before running tests. I am wondering if there is a way to run those tests on any environment other than 'test'?</p>
  
  <p>For example we have in database.yml:</p>
  
  <pre><code>test:
    database: ...
    host: ...
    username: ...
    password: ...
  ...
  dev-one:
    ...
  dev-two:
    ...
  </code></pre>
  
  <p>I can't find anything in the docs on this but maybe I am looking in the wrong place. Any ideas?</p>
  
  <p>Thanks!</p>