dossier: remove UI for viewing old pieces justificatives

This commit is contained in:
Pierre de La Morinerie 2019-07-25 12:36:56 +00:00
parent 5502f2e42e
commit f825f62ce5
7 changed files with 0 additions and 67 deletions

View file

@ -16,6 +16,5 @@ describe 'gestionnaires/dossiers/show.html.haml', type: :view do
it 'renders the dossier infos' do
expect(rendered).to have_text('Identité')
expect(rendered).to have_text('Demande')
expect(rendered).to have_text('Pièces jointes')
end
end

View file

@ -51,12 +51,4 @@ describe 'shared/dossiers/demande.html.haml', type: :view do
end
end
end
context 'when the dossier has pièces justificatives' do
let(:procedure) { create(:procedure, :published, :with_two_type_de_piece_justificative) }
it 'renders the pièces justificatives' do
expect(rendered).to have_text('Pièces jointes')
end
end
end

View file

@ -19,7 +19,6 @@ describe 'users/dossiers/demande.html.haml', type: :view do
expect(rendered).to have_text('Déposé le')
expect(rendered).to have_text('Identité')
expect(rendered).to have_text('Demande')
expect(rendered).to have_text('Pièces jointes')
end
context 'when the dossier is editable' do