Revert "Active degraded mode if insee is disabled"

This reverts commit 6044c120c5.
This commit is contained in:
Xavier J 2016-11-01 22:56:58 +01:00
parent 6044c120c5
commit 1376372c9e
8 changed files with 8 additions and 64 deletions

View file

@ -15,9 +15,6 @@ describe SIADE::API do
it 'raises RestClient::ResourceNotFound' do
expect { subject }.to raise_error(RestClient::ResourceNotFound)
end
it { expect(subject.http_code).to eq status }
end
context 'when siret exist' do
let(:siren) { '418166096' }

View file

@ -12,8 +12,6 @@ describe SIADE::EntrepriseAdapter do
expect(subject).to be_an_instance_of(Hash)
end
it { expect(described_class.new('418166096').data_source[:http_code]).to eq 200 }
context 'Attributs Entreprises' do
it 'L\'entreprise contient bien un siren' do
expect(subject[:siren]).to eq('418166096')