<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,5 @@
 class UsersScenario &lt; Scenario::Base
   def load
-    create_preference
     create_user :login =&gt; 'johnny', :first_name =&gt; 'Johnny',  :last_name =&gt; 'Smith'
     create_user :login =&gt; 'jane',   :first_name =&gt; 'Jane',    :last_name =&gt; 'Pilbeam'
     create_user :login =&gt; 'sean',   :first_name =&gt; 'Sean',    :last_name =&gt; 'Pallmer'
@@ -12,12 +11,9 @@ class UsersScenario &lt; Scenario::Base
       :password   =&gt; password,
       :password_confirmation =&gt; password,
       :is_admin   =&gt; attributes[:is_admin]  || false,
-      :preference =&gt; preferences(:default)
     }.merge(attributes)
-    create_model :user, attributes[:login].downcase.to_sym, attributes
-  end
-
-  def create_preference
-    create_record :preference, :default, :show_number_completed =&gt; 5
+    identifier = attributes[:login].downcase.to_sym
+    user = create_model :user, identifier, attributes
+    Preference.create(:show_number_completed =&gt; 5, :user =&gt; user)
   end
 end</diff>
      <filename>spec/scenarios/users_scenario.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>87444e7109b113141a7dd52db4ff4ae65ea653e0</id>
    </parent>
  </parents>
  <author>
    <name>Simon Rozet</name>
    <email>simon@rozet.name</email>
  </author>
  <url>http://github.com/bsag/tracks/commit/f446effcc5eed044640d0302763ba457031bd07e</url>
  <id>f446effcc5eed044640d0302763ba457031bd07e</id>
  <committed-date>2008-06-24T08:11:48-07:00</committed-date>
  <authored-date>2008-06-24T08:11:48-07:00</authored-date>
  <message>update user scenario to work with sqlite3</message>
  <tree>d14412130df1bdc349784aa7a7d45dbb1a3a35a2</tree>
  <committer>
    <name>Simon Rozet</name>
    <email>simon@rozet.name</email>
  </committer>
</commit>
