Unify :type_de_champ public/private factories
This commit is contained in:
parent
31d638ae2a
commit
0c1d529b61
32 changed files with 125 additions and 134 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue