[#2180] Do not double-expose migrated type PJs as champs in procedure API

This commit is contained in:
Frederic Merizen 2019-01-10 15:56:18 +01:00
parent 082255b489
commit 5f74ae1545
2 changed files with 8 additions and 0 deletions

View file

@ -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