File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -345,6 +345,6 @@ def and_a_text_is_sent_to_the_parent_confirming_the_vaccination
345345 end
346346
347347 def and_the_parent_doesnt_receive_a_vaccination_already_had_email
348- expect ( email_deliveries ) . to be_empty
348+ expect_no_email_to ( @patient . consents . last . parent . email , :vaccination_already_had )
349349 end
350350end
Original file line number Diff line number Diff line change 3737 expect ( page ) . to have_content ( "LocationUnknown" )
3838 and_had_been_vaccinated_with_mmr
3939 and_the_dose_number_is_first
40- and_the_consent_requests_are_sent
41-
42- then_the_parent_doesnt_receive_a_consent_request
43- and_the_parent_receives_an_already_vaccinated_email
4440 end
4541
4642 scenario "record a patient born before January 2020 as already had their 1st MMR dose outside the school session" do
4743 given_an_mmr_programme_with_a_session
4844 and_a_patient_is_in_the_session_born_before_january_2020
45+ and_the_patient_has_a_parent_with_a_consent_request
4946 and_the_patient_doesnt_need_triage
5047 and_the_patient_has_not_had_a_first_dose
5148
6158 scenario "record a patient born after January 2020 as already had their 2nd MMRV dose outside the school session" do
6259 given_an_mmr_programme_with_a_session
6360 and_a_patient_is_in_the_session_born_after_january_2020
61+ and_the_patient_has_a_parent_with_a_consent_request
6462 and_the_patient_doesnt_need_triage
6563 and_the_patient_already_has_first_dose
6664
You can’t perform that action at this time.
0 commit comments