<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -264,13 +264,15 @@ namespace :db do
   end
 
   namespace :test do
-    desc &quot;Recreate the test database from the current environment's database schema&quot;
-    task :clone =&gt; %w(db:schema:dump db:test:purge) do
+    desc &quot;Recreate the test database from the current schema.rb&quot;
+    task :load =&gt; 'db:test:purge' do
       ActiveRecord::Base.establish_connection(ActiveRecord::Base.configurations['test'])
       ActiveRecord::Schema.verbose = false
       Rake::Task[&quot;db:schema:load&quot;].invoke
     end
 
+    desc &quot;Recreate the test database from the current environment's database schema&quot;
+    task :clone =&gt; %w(db:schema:dump db:test:load)
 
     desc &quot;Recreate the test databases from the development structure&quot;
     task :clone_structure =&gt; [ &quot;db:structure:dump&quot;, &quot;db:test:purge&quot; ] do
@@ -340,7 +342,7 @@ namespace :db do
     desc 'Check for pending migrations and load the test schema'
     task :prepare =&gt; 'db:abort_if_pending_migrations' do
       if defined?(ActiveRecord) &amp;&amp; !ActiveRecord::Base.configurations.blank?
-        Rake::Task[{ :sql  =&gt; &quot;db:test:clone_structure&quot;, :ruby =&gt; &quot;db:schema:load&quot; }[ActiveRecord::Base.schema_format]].invoke
+        Rake::Task[{ :sql  =&gt; &quot;db:test:clone_structure&quot;, :ruby =&gt; &quot;db:test:load&quot; }[ActiveRecord::Base.schema_format]].invoke
       end
     end
   end</diff>
      <filename>railties/lib/tasks/databases.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e328bdaab6c1cf920af3cabc0a27e32798a9fcb6</id>
    </parent>
  </parents>
  <author>
    <name>Jeremy Kemper</name>
    <email>jeremy@bitsweat.net</email>
  </author>
  <url>http://github.com/rails/rails/commit/6ffe32160e16398d347e6bcd396ad843ba68e52a</url>
  <id>6ffe32160e16398d347e6bcd396ad843ba68e52a</id>
  <committed-date>2008-06-17T16:01:48-07:00</committed-date>
  <authored-date>2008-06-17T03:52:01-07:00</authored-date>
  <message>Rely on quieter db:test:load task</message>
  <tree>c3927730c0a9483abd105b88035948cca9b861cb</tree>
  <committer>
    <name>Jeremy Kemper</name>
    <email>jeremy@bitsweat.net</email>
  </committer>
</commit>
