[Fix #161] Remove incorrect commas from Dossier#text_summary
This commit is contained in:
parent
24b80e70db
commit
988947696e
3 changed files with 6 additions and 6 deletions
|
@ -563,7 +563,7 @@ describe Users::DossiersController, type: :controller do
|
|||
context 'when the dossier exist' do
|
||||
before { get :text_summary, params: { dossier_id: dossier.id } }
|
||||
it 'returns the procedure name' do
|
||||
expect(JSON.parse(response.body)).to eq("textSummary" => "Dossier en brouillon répondant à la démarche #{procedure.libelle}, gérée par l'organisme #{procedure.organisation}")
|
||||
expect(JSON.parse(response.body)).to eq("textSummary" => "Dossier en brouillon répondant à la démarche #{procedure.libelle} gérée par l'organisme #{procedure.organisation}")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue