<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -125,8 +125,9 @@ describe &quot;an ActiveRecord model with StateFu included:&quot; do
 
       it &quot;should create a record given only a name, with the field set to the initial state&quot; do
         ex = ExampleRecord.new( :name =&gt; &quot;exemplar&quot; )
-        ex.should be_valid
         ex.state_fu_field.should == nil
+        ex.should be_valid
+        ex.state_fu_field.should == 'initial'
         ex.save!
         ex.should_not be_new_record
         ex.state_fu_field.should == 'initial'</diff>
      <filename>spec/integration/active_record_persistence_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -62,7 +62,7 @@ describe StateFu::Binding do
         
         before do
           mock( StateFu::Persistence ).active_record_column?(Klass, :example_field).times(1) { true }
-          mock( Klass ).before_create( :state_fu!) { }
+          mock( Klass ).before_validation_on_create( :state_fu!) { }
         end
         
         it &quot;should get an ActiveRecord persister&quot; do</diff>
      <filename>spec/units/binding_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>17d2ce556fa680837255d1800f297f1ea046334b</id>
    </parent>
  </parents>
  <author>
    <name>davidlee</name>
    <email>david@davelee.com.au</email>
  </author>
  <url>http://github.com/davidlee/state-fu/commit/dc31cd703d7d14fa931e6c0ea6ca99d07b8e1b90</url>
  <id>dc31cd703d7d14fa931e6c0ea6ca99d07b8e1b90</id>
  <committed-date>2009-10-17T19:41:29-07:00</committed-date>
  <authored-date>2009-10-17T19:41:29-07:00</authored-date>
  <message>patch for specs (:/ woops) broken by last update</message>
  <tree>8a59da666cf85aac908df868bf90b8a300ff3a25</tree>
  <committer>
    <name>davidlee</name>
    <email>david@davelee.com.au</email>
  </committer>
</commit>
