demarches-normaliennes/spec/factories/procedure_presentation.rb
2018-10-03 10:17:46 +02:00

6 lines
231 B
Ruby

FactoryBot.define do
factory :procedure_presentation do
assign_to { create(:assign_to, procedure: create(:procedure, :with_type_de_champ)) }
sort { { "table" => "user", "column" => "email", "order" => "asc" } }
end
end