Remove use of staging.apientreprise

This commit is contained in:
Mathieu Magnin 2018-05-09 12:03:04 +02:00 committed by gregoirenovel
parent 576204988b
commit 3e176d4e08
10 changed files with 27 additions and 31 deletions

View file

@ -7,7 +7,7 @@ describe ApiEntreprise::EntrepriseAdapter do
subject { adapter.to_params }
before do
stub_request(:get, /https:\/\/staging.entreprise.api.gouv.fr\/v2\/entreprises\/#{siren}?.*token=/)
stub_request(:get, /https:\/\/entreprise.api.gouv.fr\/v2\/entreprises\/#{siren}?.*token=/)
.to_return(body: File.read('spec/support/files/entreprise.json', status: 200))
end