Merge pull request #7892 from betagouv/fix_dubious_procedure_spec
fix(spec): fix dubious procedure spec
This commit is contained in:
commit
03fa98a8a0
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ describe DubiousProcedure, type: :model do
|
|||
it 'returns dubious procedures' do
|
||||
expect(subject.first.id).to eq(procedure.id)
|
||||
expect(subject.first.libelle).to eq(procedure.libelle)
|
||||
expect(subject.first.dubious_champs).to eq("num de securite sociale, stp - t'aurais une carte bancaire ?")
|
||||
expect(subject.first.dubious_champs).to include("num de securite sociale, stp")
|
||||
expect(subject.first.dubious_champs).to include("t'aurais une carte bancaire ?")
|
||||
end
|
||||
|
||||
context 'and a whitelisted procedure' do
|
||||
|
|
Loading…
Reference in a new issue