[#2579] Validate columns on ProcedurePresentation model
This commit is contained in:
parent
103f466cb8
commit
8bb08a1b8b
4 changed files with 75 additions and 6 deletions
6
spec/factories/procedure_presentation.rb
Normal file
6
spec/factories/procedure_presentation.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue