Unify :type_de_champ public/private factories

This commit is contained in:
Paul Chavard 2018-02-13 17:00:19 +01:00
parent 31d638ae2a
commit 0c1d529b61
32 changed files with 125 additions and 134 deletions

View file

@ -149,8 +149,8 @@ describe AttestationTemplate, type: :model do
context 'when the procedure has a type de champ named libelleA et libelleB' do
let(:types_de_champ) do
[
create(:type_de_champ_public, libelle: 'libelleA'),
create(:type_de_champ_public, libelle: 'libelleB')
create(:type_de_champ, libelle: 'libelleA'),
create(:type_de_champ, libelle: 'libelleB')
]
end