<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>test/backends/remote/cloudfiles_test.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,2 +1,3 @@
 test/amazon_s3.yml
+test/rackspace_cloudfiles.yml
 test/debug.log</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -205,11 +205,22 @@ begin
     has_attachment :storage =&gt; :s3, :processor =&gt; :rmagick, :s3_config_path =&gt; File.join(File.dirname(__FILE__), '../amazon_s3.yml')
     validates_as_attachment
   end
+  
+  class CloudFilesAttachment &lt; ActiveRecord::Base
+    has_attachment :storage =&gt; :cloud_files, :processor =&gt; :rmagick, :cloudfiles_config_path =&gt; File.join(File.dirname(__FILE__), '../rackspace_cloudfiles.yml')
+    validates_as_attachment
+  end
 
   class S3WithPathPrefixAttachment &lt; S3Attachment
     has_attachment :storage =&gt; :s3, :path_prefix =&gt; 'some/custom/path/prefix', :processor =&gt; :rmagick
     validates_as_attachment
   end
+  
+  class CloudFilesWithPathPrefixAttachment &lt; CloudFilesAttachment
+    has_attachment :storage =&gt; :cloud_files, :path_prefix =&gt; 'some/custom/path/prefix', :processor =&gt; :rmagick
+    validates_as_attachment
+  end
+  
 rescue
   puts &quot;S3 error: #{$!}&quot;
 end</diff>
      <filename>test/fixtures/attachment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -118,4 +118,17 @@ ActiveRecord::Schema.define(:version =&gt; 0) do
     t.column :type,            :string
     t.column :aspect_ratio,    :float
   end
+  
+  create_table :cloud_files_attachments, :force =&gt; true do |t|
+    t.column :parent_id,       :integer
+    t.column :thumbnail,       :string 
+    t.column :filename,        :string, :limit =&gt; 255
+    t.column :content_type,    :string, :limit =&gt; 255
+    t.column :size,            :integer
+    t.column :width,           :integer
+    t.column :height,          :integer
+    t.column :type,            :string
+    t.column :aspect_ratio,    :float
+  end
+  
 end</diff>
      <filename>test/schema.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>142e697e106c77d00b8d6b1286e1932b9e331598</id>
    </parent>
  </parents>
  <author>
    <name>H. Wade Minter</name>
    <email>minter@lunenburg.org</email>
  </author>
  <url>http://github.com/technoweenie/attachment_fu/commit/9002414ad9ffa6f126c91e4fec83e6e9ff06c4f3</url>
  <id>9002414ad9ffa6f126c91e4fec83e6e9ff06c4f3</id>
  <committed-date>2009-03-24T20:13:59-07:00</committed-date>
  <authored-date>2009-03-24T20:13:59-07:00</authored-date>
  <message>Add tests for the Cloud Files backend.</message>
  <tree>c4e6284c42076f5831fd7112e3180912eb62a155</tree>
  <committer>
    <name>H. Wade Minter</name>
    <email>minter@lunenburg.org</email>
  </committer>
</commit>
