diff --git a/spec/services/procedure_export_service_spec.rb b/spec/services/procedure_export_service_spec.rb index 078c4d02c..f733454bb 100644 --- a/spec/services/procedure_export_service_spec.rb +++ b/spec/services/procedure_export_service_spec.rb @@ -353,7 +353,7 @@ describe ProcedureExportService do let(:other_parent) { create(:type_de_champ_repetition, stable_id: champ_repetition.stable_id) } before do - create(:procedure_revision_type_de_champ, type_de_champ: other_parent, revision: create(:procedure).active_revision) + create(:procedure_revision_type_de_champ, type_de_champ: other_parent, revision: create(:procedure).active_revision, position: 0) create(:type_de_champ, parent: other_parent) end