fix(entreprise): graphql effectif

This commit is contained in:
Paul Chavard 2024-02-29 12:58:31 +01:00
parent a247ec6c12
commit 1243cfefeb
6 changed files with 43 additions and 13 deletions

View file

@ -22,5 +22,6 @@ RSpec.describe APIEntreprise::EffectifsAnnuelsJob, type: :job do
it 'updates etablissement' do
subject
expect(Etablissement.find(etablissement.id).entreprise_effectif_annuel).to eq(100.5)
expect(Etablissement.find(etablissement.id).entreprise_effectif_annuel_annee).to eq("2017")
end
end