<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -88,6 +88,25 @@ module Moo
     end
     
   end
+
+  class Notecard &lt; Design
+    disable_attributes [:font_size, :italic]
+
+    def product_type
+      &quot;notecard&quot;
+    end
+    
+  end
+
+  class Greetingcard &lt; Design
+    disable_attributes [:font_size, :italic]
+
+    def product_type
+      &quot;greetingcard&quot;
+    end
+    
+  end
+
   
   class Sticker &lt; Design
     </diff>
      <filename>lib/design.rb</filename>
    </modified>
    <modified>
      <diff>@@ -80,5 +80,41 @@ describe &quot;a postcard&quot; do
   it &quot;should not support italic&quot; do
     lambda{@design.italic = true}.should raise_error(Moo::DisabledAttributeError)
   end
+end
+
+describe &quot;a notecard&quot; do
+  before(:each) do
+    @design = Moo::Notecard.new(:url =&gt; &quot;&quot;)
+  end
+  
+  it &quot;should have notecard as the type&quot; do
+    @design.product_type.should == &quot;notecard&quot;
+  end
+  
+  it &quot;should not support size&quot; do
+    lambda{@design.font_size = 0.5}.should raise_error(Moo::DisabledAttributeError)
+  end
   
+  it &quot;should not support italic&quot; do
+    lambda{@design.italic = true}.should raise_error(Moo::DisabledAttributeError)
+  end
+end
+
+describe &quot;a greetingcard&quot; do
+
+  before(:each) do
+    @design = Moo::Greetingcard.new(:url =&gt; &quot;&quot;)
+  end
+
+  it &quot;should have greetingcard as the type&quot; do
+    @design.product_type.should == &quot;greetingcard&quot;
+  end
+
+  it &quot;should not support size&quot; do
+    lambda{@design.font_size = 0.5}.should raise_error(Moo::DisabledAttributeError)
+  end
+
+  it &quot;should not support italic&quot; do
+    lambda{@design.italic = true}.should raise_error(Moo::DisabledAttributeError)
+  end
 end
\ No newline at end of file</diff>
      <filename>spec/design_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a2dec5d5f97ac035d92ce7ae08124691686baef2</id>
    </parent>
  </parents>
  <author>
    <name>Tom Armitage</name>
    <email>tom@infovore.org</email>
  </author>
  <url>http://github.com/infovore/ruminant/commit/8966bdaf10acc14a32c6afe0be37880df77de416</url>
  <id>8966bdaf10acc14a32c6afe0be37880df77de416</id>
  <committed-date>2008-10-01T12:04:03-07:00</committed-date>
  <authored-date>2008-10-01T12:04:03-07:00</authored-date>
  <message>Adding notecards and greetingcards too. Now we need to count the lines, I guess.</message>
  <tree>6c499ea0c24d71810fac0db3b0c0a2f20d35d02d</tree>
  <committer>
    <name>Tom Armitage</name>
    <email>tom@infovore.org</email>
  </committer>
</commit>
