Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
gms-gs committed Sep 23, 2024
1 parent 25e4b6f commit dd047ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/mailers/candidate_mailer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,9 @@
)]
end

it 'renders deadline reminder text' do
expect(email.body).to include "If you want to accept this offer, you must do so by #{I18n.l(CycleTimetable.decline_by_default_date.to_date, format: :no_year)}. If you have not responded by then, the offer will be automatically declined on your behalf."
it 'renders essential checks text' do
expect(email.body).to include "An enhanced disclosure and barring service (DBS) check. This is a criminal records check to make sure it is safe for you to work with children. If you are from outside of the UK and Ireland then the training provider will request a criminal records check from your home country. A fitness to train to teach check."
expect(email.body).to include "A fitness to train to teach check. These are questions to check your ability to meet teaching standards, both physically and mentally."
end
end

Expand Down

0 comments on commit dd047ce

Please sign in to comment.