diff --git a/spec/helpers/renalware/patients_helper_spec.rb b/spec/helpers/renalware/patients_helper_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/helpers/renalware/patients_helper_spec.rb
+++ b/spec/helpers/renalware/patients_helper_spec.rb
@@ -13,7 +13,7 @@ module Renalware
 
       context "patient has history of PD" do
         it "should detect PD" do
-          @pd_modality = create(:modality, patient: @patient, modality_code: @pd_capd, deleted_at: "2015-05-22 10:58:25.428869")
+          @pd_modality = create(:modality, patient: @patient, modality_code: @pd_capd, started_on: Date.parse("2015-05-01"))
           @patient.modalities << @pd_modality
 
           expect(display_pd_menu(@patient.modalities.with_deleted)).to eq(true)
Modality should not set deleted_at but should set started_on date.