instructeurs: affiche l'effectif moyen annuel n-1

This commit is contained in:
Christophe Robillard 2020-04-22 17:53:45 +02:00
parent 85d119fa4d
commit 453adf3c74
11 changed files with 94 additions and 3 deletions

View file

@ -76,6 +76,8 @@ feature 'Creating a new dossier:' do
.to_return(status: 404, body: '')
stub_request(:get, /https:\/\/entreprise.api.gouv.fr\/v2\/effectifs_mensuels_acoss_covid\/2020\/02\/entreprise\/#{siren}?.*token=/)
.to_return(status: 404, body: '')
stub_request(:get, /https:\/\/entreprise.api.gouv.fr\/v2\/effectifs_annuels_acoss_covid\/#{siren}?.*token=/)
.to_return(status: 404, body: '')
end
before { Timecop.freeze(Time.zone.local(2020, 3, 14)) }
after { Timecop.return }