parent_id -> parent_stable_id
This commit is contained in:
parent
1342356651
commit
5ebaf59fdb
9 changed files with 18 additions and 19 deletions
|
@ -163,8 +163,8 @@ describe TagsSubstitutionConcern, type: :model do
|
|||
let(:template) { '--Répétition--' }
|
||||
let(:repetition) do
|
||||
repetition_tdc = procedure.active_revision.add_type_de_champ(type_champ: 'repetition', libelle: 'Répétition')
|
||||
procedure.active_revision.add_type_de_champ(type_champ: 'text', libelle: 'Nom', parent_id: repetition_tdc.stable_id)
|
||||
procedure.active_revision.add_type_de_champ(type_champ: 'text', libelle: 'Prénom', parent_id: repetition_tdc.stable_id)
|
||||
procedure.active_revision.add_type_de_champ(type_champ: 'text', libelle: 'Nom', parent_stable_id: repetition_tdc.stable_id)
|
||||
procedure.active_revision.add_type_de_champ(type_champ: 'text', libelle: 'Prénom', parent_stable_id: repetition_tdc.stable_id)
|
||||
|
||||
repetition_tdc
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue