diff --git a/spec/features/appropriate_bodies/record_failed_outcome_spec.rb b/spec/features/appropriate_bodies/record_failed_outcome_spec.rb index 621b75a1..6486847b 100644 --- a/spec/features/appropriate_bodies/record_failed_outcome_spec.rb +++ b/spec/features/appropriate_bodies/record_failed_outcome_spec.rb @@ -46,8 +46,7 @@ def when_i_enter_the_finish_date end def and_i_enter_a_terms_value_of(number) - teacher_name = Teachers::Name.new(teacher).full_name - label = "How many terms of induction did #{teacher_name} spend with you?" + label = "How many terms of induction did they spend with you?" page.get_by_label(label).fill(number.to_s) end diff --git a/spec/features/appropriate_bodies/record_passed_outcome_spec.rb b/spec/features/appropriate_bodies/record_passed_outcome_spec.rb index 91ac84f9..8df96cd9 100644 --- a/spec/features/appropriate_bodies/record_passed_outcome_spec.rb +++ b/spec/features/appropriate_bodies/record_passed_outcome_spec.rb @@ -46,8 +46,7 @@ def when_i_enter_the_finish_date end def and_i_enter_a_terms_value_of(number) - teacher_name = Teachers::Name.new(teacher).full_name - label = "How many terms of induction did #{teacher_name} spend with you?" + label = "How many terms of induction did they spend with you?" page.get_by_label(label).fill(number.to_s) end diff --git a/spec/requests/appropriate_bodies/teachers/extensions/new_spec.rb b/spec/requests/appropriate_bodies/teachers/extensions/new_spec.rb index 12207d14..4bf77b3e 100644 --- a/spec/requests/appropriate_bodies/teachers/extensions/new_spec.rb +++ b/spec/requests/appropriate_bodies/teachers/extensions/new_spec.rb @@ -12,7 +12,7 @@ get("/appropriate-body/teachers/#{teacher.trn}/extensions/new") expect(response).to be_successful - expect(response.body).to include('Add an Extension to an ECT's induction') + expect(response.body).to include('Enter number of terms') end end