Fix dossier controller spec
This commit is contained in:
parent
da5618b9fc
commit
704dbf94db
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ describe Users::DossiersController, type: :controller do
|
||||||
|
|
||||||
context 'When API-Entreprise is globally down' do
|
context 'When API-Entreprise is globally down' do
|
||||||
let(:api_etablissement_status) { 502 }
|
let(:api_etablissement_status) { 502 }
|
||||||
let(:api_current_status_response) { File.read('spec/fixtures/files/api_entreprise/current_status.json').tr('200', '502') }
|
let(:api_current_status_response) { File.read('spec/fixtures/files/api_entreprise/current_status.json').gsub('200', '502') }
|
||||||
|
|
||||||
it "create an etablissement only with SIRET as degraded mode" do
|
it "create an etablissement only with SIRET as degraded mode" do
|
||||||
dossier.reload
|
dossier.reload
|
||||||
|
|
Loading…
Reference in a new issue