<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -13,3 +13,28 @@ describe Wee::Component, &quot;when first created&quot; do
     @component.decoration.should == @component 
   end
 end
+
+describe Wee::Component, &quot;after adding one decoration&quot; do
+  before do
+    @component = Wee::Component.new
+    @decoration = Wee::Decoration.new
+    @component.add_decoration(@decoration)
+  end
+
+  it &quot;should point to the added decoration&quot; do
+    @component.decoration.should == @decoration
+  end
+
+  it &quot;the added decoration should point back to the component&quot; do
+    @component.decoration.next.should == @component
+  end
+
+  it &quot;should return decoration after removing it&quot; do
+    @component.remove_decoration(@decoration).should == @decoration
+  end
+
+  it &quot;should have no decoration after removing it&quot; do
+    @component.remove_decoration(@decoration)
+    @component.decoration.should == @component 
+  end
+end</diff>
      <filename>test/component_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>717d2476ae0672f096ed5e93276d6615d4ecd424</id>
    </parent>
  </parents>
  <author>
    <name>Michael Neumann</name>
    <email>mneumann@mischa.(none)</email>
  </author>
  <url>http://github.com/mneumann/wee/commit/ef35a227a74c56f90abb98ddafc7d54d473094fd</url>
  <id>ef35a227a74c56f90abb98ddafc7d54d473094fd</id>
  <committed-date>2009-10-26T11:26:57-07:00</committed-date>
  <authored-date>2009-10-26T11:26:57-07:00</authored-date>
  <message>Spec</message>
  <tree>15fc2ec261bd589f1c6aa253daa8343a34b983b6</tree>
  <committer>
    <name>Michael Neumann</name>
    <email>mneumann@mischa.(none)</email>
  </committer>
</commit>
