<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -84,8 +84,15 @@ namespace :test do
         FileUtils.mkdir_p vendor_dir
         
         if ENV['RAILS'] == 'edge'
-          out.puts &quot;    Cloning rails from GitHub&quot;
+          out.puts &quot;    Cloning Edge Rails from GitHub&quot;
           run &quot;cd #{vendor_dir} &amp;&amp; git clone --depth 1 git://github.com/rails/rails.git&quot;
+        elsif ENV['RAILS'] =~ /\d\.\d\.\d/
+          out.puts &quot;    Cloning Rails Tag #{ENV['RAILS']} from GitHub&quot;
+          run [&quot;cd #{vendor_dir}&quot;,
+               &quot;git clone --depth 1 git://github.com/rails/rails.git&quot;,
+               &quot;cd rails&quot;,
+               &quot;git pull&quot;,
+               &quot;git checkout v#{ENV['RAILS']}&quot;].join(&quot; &amp;&amp; &quot;)
         elsif File.exist?(ENV['RAILS'])
           out.puts &quot;    Linking rails from #{ENV['RAILS']}&quot;
           run &quot;cd #{vendor_dir} &amp;&amp; ln -s #{ENV['RAILS']} rails&quot;
@@ -174,7 +181,7 @@ namespace :test do
   end
   
   desc 'Prepare the engines test environment'
-  file :test_app do
+  task :test_app do
     puts &quot;&gt; Recreating test application&quot;
     Rake::Task[&quot;test:clean&quot;].invoke
     Rake::Task[&quot;test:generate_app&quot;].invoke</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a3108e7277c8dd64336308f7c444d1f1ca547bc6</id>
    </parent>
  </parents>
  <author>
    <name>James Adam</name>
    <email>james@lazyatom.com</email>
  </author>
  <url>http://github.com/azimux/engines/commit/ccc9c22fe433aff6ab5949eac46c0de46f937079</url>
  <id>ccc9c22fe433aff6ab5949eac46c0de46f937079</id>
  <committed-date>2008-06-01T02:47:47-07:00</committed-date>
  <authored-date>2008-06-01T02:47:47-07:00</authored-date>
  <message>We should be able to test the engines plugin against specific tags of Rails.</message>
  <tree>aa76958457bb6bf3ae1c70e08e8fafbdea0b73fa</tree>
  <committer>
    <name>James Adam</name>
    <email>james@lazyatom.com</email>
  </committer>
</commit>
