<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,5 @@
 class AssetCategory &lt; ActiveRecord::Base
   validates_presence_of :title
   belongs_to :project
+  has_many :assets
 end</diff>
      <filename>app/models/asset_category.rb</filename>
    </modified>
    <modified>
      <diff>@@ -27,6 +27,16 @@ describe AssetCategory do
       @asset_category = asset_categories(:home_page)
       @asset_category.project.should == projects(:big_project)
     end
+      
+    it &quot;should have many assets&quot; do
+      AssetCategory.reflect_on_association(:assets).should_not be(nil)
+    end
+      
+    it &quot;should have many assets officially&quot; do
+      @asset_category = asset_categories(:home_page)
+      @asset_category.assets.size.should == 2
+    end
+      
 
   end
 </diff>
      <filename>spec/models/asset_category_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>89313423eabee80830f89f89d13558a06c8f2cf5</id>
    </parent>
  </parents>
  <author>
    <name>Jon Maddox</name>
    <email>jon@jonsthoughtsoneverything.com</email>
  </author>
  <url>http://github.com/maddox/freelancer/commit/3f3e00f47c9eac4c3bcf753e3edd6133be8f1a3d</url>
  <id>3f3e00f47c9eac4c3bcf753e3edd6133be8f1a3d</id>
  <committed-date>2008-03-29T10:52:35-07:00</committed-date>
  <authored-date>2008-03-29T10:52:35-07:00</authored-date>
  <message>added asset association to asset_category</message>
  <tree>f726341d9346a2e042a13cea4b291acba374533e</tree>
  <committer>
    <name>Jon Maddox</name>
    <email>jon@jonsthoughtsoneverything.com</email>
  </committer>
</commit>
