<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>stories/runners/enter_patient_vitals_story.rb</filename>
    </added>
    <added>
      <filename>stories/runners/print_national_id_story.rb</filename>
    </added>
    <added>
      <filename>stories/runners/registration_story.rb</filename>
    </added>
    <added>
      <filename>stories/runners/view_mastercard_story.rb</filename>
    </added>
    <added>
      <filename>stories/steps/enter_patient_vitals_steps.rb</filename>
    </added>
    <added>
      <filename>stories/steps/print_national_id_story_steps.rb</filename>
    </added>
    <added>
      <filename>stories/steps/registration_story_steps.rb</filename>
    </added>
    <added>
      <filename>stories/steps/view_mastercard_story_steps.rb</filename>
    </added>
    <added>
      <filename>stories/stories/enter_patient_vitals_story.story</filename>
    </added>
    <added>
      <filename>stories/stories/print_national_id_story.story</filename>
    </added>
    <added>
      <filename>stories/stories/registration_story.story</filename>
    </added>
    <added>
      <filename>stories/stories/view_mastercard_story.story</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -16,5 +16,5 @@ def login_user(username, password, location)
 end
 
 def select_task(task) 
-  post &quot;/user/change_activities&quot;, :user =&gt; { :activities =&gt; task }
+  post '/user/change_activities', {'user' =&gt; {'activities' =&gt; [task]}}
 end</diff>
      <filename>stories/helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,12 +6,8 @@ steps_for(:lab_data_migration) do
     @location = &quot;7001&quot;
   end
 
-  When &quot;the user clicks Done&quot; do
-    login_user @user_password,@user_name,@location
-  end
-  
   Given &quot;a task&quot; do 
-    @task = &quot;HIV Reception&quot;
+    @task = &quot;HIV Reception&quot;, &quot;Height/Weight&quot;, &quot;ART Visit&quot;, &quot;Give drugs&quot;
   end
   
   Given &quot;a list of choices on the patient menu&quot; do 
@@ -22,15 +18,6 @@ steps_for(:lab_data_migration) do
     select_task(@task)
   end
   
-  When &quot;the user clicks Administration&quot; do
-    get @choice
-  end
-  
-  Then &quot;should redirect to '$path'&quot; do |path| 
-    raise response.response_code.to_s if response.response_code != 302
-    response.should redirect_to(path)
-  end
-
   When &quot;the user clicks Synchronize&quot; do
     get &quot;/&quot;
   end
@@ -39,4 +26,16 @@ steps_for(:lab_data_migration) do
     get &quot;/&quot;
   end
   
+  When &quot;the user clicks Administration&quot; do
+    post &quot;/patient/admin_menu&quot;
+  end
+  
+  When &quot;the user clicks Done&quot; do
+    login_user @user_password,@user_name,@location
+  end
+  
+  Then &quot;should redirect to '$path'&quot; do |path| 
+    response.should redirect_to(path)
+  end
+
 end</diff>
      <filename>stories/steps/lab_data_migration_story_steps.rb</filename>
    </modified>
    <modified>
      <diff>@@ -12,10 +12,6 @@ steps_for(:select_patient) do
     post &quot;/patient/set_patient/#{barcode}&quot;
   end
 
-  When &quot;the user scans '$wrong_barcode'&quot; do |barcode|
-    post &quot;/patient/set_patient/#{barcode}&quot;
-  end
-  
   Then &quot;should redirect to '$path'&quot; do |path|
     response.should redirect_to(path)
   end
@@ -25,4 +21,8 @@ steps_for(:select_patient) do
     response.should have_text(/#{text}/)
   end
 
+  When &quot;the user scans '$wrong_barcode'&quot; do |barcode|
+    post &quot;/patient/set_patient/#{barcode}&quot;
+  end
+  
 end</diff>
      <filename>stories/steps/select_patient_story_steps.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9d348472af99a0efc52b940ae55182315278b02b</id>
    </parent>
  </parents>
  <author>
    <name>ice</name>
    <email>mwatha@baobabhealth.org</email>
  </author>
  <url>http://github.com/baobab/bart/commit/6d8420af41c97eebc9c64f63361647e0f672076b</url>
  <id>6d8420af41c97eebc9c64f63361647e0f672076b</id>
  <committed-date>2008-09-04T07:44:49-07:00</committed-date>
  <authored-date>2008-09-04T07:44:49-07:00</authored-date>
  <message>adding stories to bart - but not finish yet..still workin on them</message>
  <tree>68ac358f9391d2cdb340ba167b7a354bb32a9978</tree>
  <committer>
    <name>ice</name>
    <email>mwatha@baobabhealth.org</email>
  </committer>
</commit>
