<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -9,3 +9,4 @@ public/reports
 .*swp
 callibrate*
 doc/*
+doc/plugins</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -1,8 +1,8 @@
 require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
 
 describe PatientController do
-# fixtures :concept_set, :concept
-  fixtures :patient, :encounter, :orders, :drug_order, :drug, :concept, 
+# fixtures :concept_set, :concept, :patient_identifier, :patient_identifier_type,
+  fixtures :patient, :encounter, :orders, :drug_order, :drug, :concept,
   :concept_datatype, :concept_class, :order_type, :concept_set, :location
 
   before(:each) do
@@ -10,6 +10,7 @@ describe PatientController do
     @patient = patient(:andreas)
     session[:patient_id] = @patient.id
     session[:encounter_datetime] = Time.now()
+    session[:outcome] = @patient.outcome
   end  
  
   it &quot;should create arv number&quot; do
@@ -112,4 +113,22 @@ describe PatientController do
     response.should be_success
   end
 
+  it &quot;should set date&quot; #do
+#    patient_controller = PatientController.new
+ #   params[:patient_month] = &quot;Unknown&quot;
+  #  params[:patient_day] = &quot;Unknown&quot;
+   # params[:patient_year] = &quot;unknown&quot; 
+   # patient_controller.set_date
+    #response.should be_success
+  #end
+
+  it &quot;should print a message&quot; do
+    patient_controller = PatientController.new
+    new_patient = @patient
+    old_patient = patient(:pete)
+    old_patient.set_filing_number
+    patient_controller.printing_message(new_patient,old_patient,true)
+    response.should have_text(&quot;something&quot;)
+  end
+
 end</diff>
      <filename>spec/controllers/patient_controller_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7f68a99cf15218b8bd395e9afcc6ac745d3bca20</id>
    </parent>
  </parents>
  <author>
    <name>ice</name>
    <email>mwatha@baobabhealth.org</email>
  </author>
  <url>http://github.com/baobab/bart/commit/9868bfc6f630734c844b1d559f8050f0a445b84a</url>
  <id>9868bfc6f630734c844b1d559f8050f0a445b84a</id>
  <committed-date>2008-10-03T04:09:46-07:00</committed-date>
  <authored-date>2008-10-03T04:09:46-07:00</authored-date>
  <message>merging code</message>
  <tree>82b841abf4f22721052c81a94a50d27a88d81bef</tree>
  <committer>
    <name>ice</name>
    <email>mwatha@baobabhealth.org</email>
  </committer>
</commit>
