[#2579] Validate columns on ProcedurePresentation model

This commit is contained in:
Frederic Merizen 2018-10-02 17:04:23 +02:00
parent 103f466cb8
commit 8bb08a1b8b
4 changed files with 75 additions and 6 deletions

View file

@ -0,0 +1,6 @@
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