From 4c17acf349366d2d63c796f5ac0dea60749ec0b7 Mon Sep 17 00:00:00 2001 From: clemkeirua Date: Mon, 21 Sep 2020 20:38:05 +0200 Subject: [PATCH] ajout du code effectif entreprise dans une spec graphql nominale --- spec/controllers/api/v2/graphql_controller_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/controllers/api/v2/graphql_controller_spec.rb b/spec/controllers/api/v2/graphql_controller_spec.rb index b1c200c2f..acddbc61b 100644 --- a/spec/controllers/api/v2/graphql_controller_spec.rb +++ b/spec/controllers/api/v2/graphql_controller_spec.rb @@ -400,6 +400,7 @@ describe API::V2::GraphqlController do siren dateCreation capitalSocial + codeEffectifEntreprise } } } @@ -423,7 +424,8 @@ describe API::V2::GraphqlController do entreprise: { siren: dossier.etablissement.entreprise_siren, dateCreation: dossier.etablissement.entreprise_date_creation.iso8601, - capitalSocial: dossier.etablissement.entreprise_capital_social.to_s + capitalSocial: dossier.etablissement.entreprise_capital_social.to_s, + codeEffectifEntreprise: dossier.etablissement.entreprise_code_effectif_entreprise.to_s } } })