File tree Expand file tree Collapse file tree
spec/lib/status_generator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -339,7 +339,6 @@ def sessions
339339 . select { it . academic_year == academic_year }
340340 . flat_map ( &:sessions )
341341 . select { it . programme_types . include? ( programme_type ) }
342- . reject ( &:completed? )
343342 end
344343 end
345344end
Original file line number Diff line number Diff line change 405405 its ( :vaccine_methods ) { should be_nil }
406406 its ( :without_gelatine ) { should be_nil }
407407
408- context "when the only session is completed" do
409- let ( :session ) { create ( :session , :completed , programmes : [ programme ] ) }
410-
411- before { ConsentNotification . delete_all }
412-
413- its ( :status ) { should be ( :needs_consent_request_not_scheduled ) }
414- end
415-
416408 context "when the patient only has a generic clinic location" do
417409 let ( :team ) { create ( :team , programmes : [ programme ] ) }
418410 let ( :location ) { create ( :generic_clinic , team :) }
You can’t perform that action at this time.
0 commit comments