title: rails test database cloning dev database
body: <p>I'm new to Ruby on Rails and following Michael Hartls Ruby on Rails Tutorial. When I run bundle rake exec test, I am getting this error:</p>
  
  <pre><code>ERROR["test_should_get_new", SessionsControllerTest, 2.331314]
  test_should_get_new#SessionsControllerTest (2.33s)
  ActiveRecord::StatementInvalid:         
  ActiveRecord::StatementInvalid: Could    not find table 'users'
  </code></pre>
  
  <p>and once similar for all of my tests.  I see that my test database: test.sqlite3 is empty.  My development database development.sqlite3 does have the users table in it.</p>
  
  <p>I tried running the following to attempt cloning the users database to the test database, but nothing is working:</p>
  
  <pre><code>rake db:migrate:reset
  rake db:migrate db:test:prepare
  
  rake db:test:clone
  
  rake db:test:prepare
  rake db:test:load
  </code></pre>
  
  <p>but it's still empty.  Any suggestions please?</p>