[fix #1097] Accent insensitive search

This commit is contained in:
simon lehericey 2018-01-08 14:59:23 +01:00 committed by Simon Lehericey
parent 6a2b575027
commit 2bc61f9f3f
4 changed files with 13 additions and 3 deletions

View file

@ -16,7 +16,7 @@ RSpec.describe FindDubiousProceduresJob, type: :job do
context 'with suspicious champs' do
let(:forbidden_tdcs) do
[create(:type_de_champ_public, libelle: 'donne ton iban, stp'),
[create(:type_de_champ_public, libelle: 'num de securite sociale, stp'),
create(:type_de_champ_public, libelle: "t'aurais une carte bancaire ?")]
end