[#2180] Do not double-expose migrated type PJs as champs in procedure API
This commit is contained in:
parent
082255b489
commit
5f74ae1545
2 changed files with 8 additions and 0 deletions
|
@ -41,5 +41,9 @@ describe ProcedureSerializer do
|
|||
]
|
||||
)
|
||||
end
|
||||
|
||||
it "is not exposed as a type de champ" do
|
||||
expect(subject[:types_de_champ]).not_to include(a_hash_including(libelle: type_pj.libelle))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue