diff --git a/app/views/sessions/invite_to_clinic/edit.html.erb b/app/views/sessions/invite_to_clinic/edit.html.erb index 5c33b0a202..23b1ba7cd7 100644 --- a/app/views/sessions/invite_to_clinic/edit.html.erb +++ b/app/views/sessions/invite_to_clinic/edit.html.erb @@ -10,12 +10,10 @@ <% end %> <% if @initial_invitations %> -

This school session has been completed.

- <% if @invitations_to_send == 1 %> -

There is <%= @invitations_to_send %> child currently without clinic appointments. You can send invitations to their parents to book an appointment.

+

<%= @invitations_to_send %> child was not vaccinated. You can send invitations to their parents to book an appointment.

<% else %> -

There are <%= @invitations_to_send %> children currently without clinic appointments. You can send invitations to their parents to book an appointment.

+

<%= @invitations_to_send %> children were not vaccinated. You can send invitations to their parents to book an appointment.

<% end %> <% else %> <% if @invitations_to_send == 0 %> diff --git a/spec/features/manage_school_sessions_spec.rb b/spec/features/manage_school_sessions_spec.rb index c10b242eb2..7a23051164 100644 --- a/spec/features/manage_school_sessions_spec.rb +++ b/spec/features/manage_school_sessions_spec.rb @@ -312,9 +312,7 @@ def when_i_click_on_send_invitations def then_i_see_the_send_invitations_page expect(page).to have_content("Invite parents to book a clinic appointment") - expect(page).to have_content( - "There are 2 children currently without clinic appointments." - ) + expect(page).to have_content("2 children were not vaccinated.") end alias_method :and_i_click_on_send_invitations,