AdapterNotSpecified: database configuration does not specify adapter
<p>I am trying to make test for model <code>rake test</code>
and I got this error,</p>

<blockquote>
  <p>AdapterNotSpecified: database configuration does not specify adapter</p>
</blockquote>

<p>my <code>database.yml</code> spec is:</p>

<pre><code>development:
 adapter: mysql2
 database: adel_development
 encoding: utf8
 pool: 5
 username: root
 timeout: 5000
 socket: /tmp/mysql.sock

production:
 adapter: mysql2
 database: adel_development
 pool: 5
 timeout: 5000
</code></pre>

<p>what's going on any help </p>

<p>note: I was using <code>qlite3</code> and changed to <code>mysql2</code></p>