title: Rails unit test fixtures using environment variables throw MySQL error
body: <p>Take for example the following test fixture:</p>
  
  <pre><code>fixture_1:
    name: MyString
    username: &lt;%= Rails.configuration.database_configuration['test']['username'] %&gt;
  </code></pre>
  
  <p>Throws the following error when executing the tests:</p>
  
  <pre><code>Mysql2::Error: Unknown column 'adapter' in 'field list':
  </code></pre>
  
  <p>However, I can load fixtures into the DB manually with no problems.</p>
  
  <p>Using Rails 3.2.11 and Ruby 1.9.2.</p>
  
  <p>Rails bug or am I doing something wrong?</p>
  
  <p>Thanks</p>