title: Not able to access test db from rake tests
body: <p>I'm unable to execute <code>bundle exec rake</code> because for some reason I can't connect to my database, the error is more than obvious :</p>
  
  <pre><code>rake aborted!
  Java::JavaSql::SQLException: ORA-01017: invalid username/password; logon denied
  </code></pre>
  
  <p>You're seeing Java etc. because I'm using jRuby. So my next move was to start a rails console in test mode which I did with <code>rails console test</code>. Worked just fine, I tried to create a new object just in case and I was able to do it with no issues. </p>
  
  <p>So why is my <code>bundle exec rake</code> failing to connect to the db? And what can I do  to fix this? The test db configuration is fine because I can use the test rails console right? </p>
  
  <p>Have no idea what to try next, any hints/tips will be appreciated.</p>