<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -18,6 +18,18 @@ describe WithoutScope::ActsAsRevisable, &quot;with branching&quot; do
     @project.should == @project.branch.branch_source
   end
   
+  it &quot;should always tie the branch to the correct version&quot; do
+    b = @project.branch!
+    @project.revise!
+    prev = @project.find_revision(:last)
+    b.reload.branch_source.should == prev
+  end
+  
+  it &quot;should have branches&quot; do
+    b = @project.branch!
+    @project.branches.size.should == 1
+  end
+  
   it &quot;should branch without saving&quot; do
     @project.branch.should be_new_record
   end</diff>
      <filename>spec/branch_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>15635e7e6e05e29f165ea7d7162706f226e9fbfc</id>
    </parent>
  </parents>
  <author>
    <name>Rich Cavanaugh</name>
    <email>rich@Rich-Cavanaughs-MacBook-Pro.local</email>
  </author>
  <url>http://github.com/rich/acts_as_revisable/commit/32b7d3d5f198a3ba81a5bba3a94ad04b69d9c1bf</url>
  <id>32b7d3d5f198a3ba81a5bba3a94ad04b69d9c1bf</id>
  <committed-date>2009-10-18T08:37:52-07:00</committed-date>
  <authored-date>2009-10-18T08:37:52-07:00</authored-date>
  <message>spec the branch reassociating</message>
  <tree>8b2aaff895f0d5e03ae2cb2bd3f77aed5b6856bc</tree>
  <committer>
    <name>Rich Cavanaugh</name>
    <email>rich@Rich-Cavanaughs-MacBook-Pro.local</email>
  </committer>
</commit>
