2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-10-02 17:04:23 +02:00
|
|
|
FactoryBot.define do
|
|
|
|
factory :procedure_presentation do
|
2020-07-20 16:13:51 +02:00
|
|
|
transient do
|
|
|
|
procedure { create(:procedure, :with_instructeur, :with_type_de_champ) }
|
|
|
|
end
|
|
|
|
|
|
|
|
assign_to { association :assign_to, procedure: procedure, instructeur: procedure.instructeurs.first }
|
2018-10-02 17:04:23 +02:00
|
|
|
end
|
|
|
|
end
|