fix: remove hardcoded .html.haml from render calls since it no longer works

This commit is contained in:
Nicolas Cavigneaux 2023-03-06 15:51:08 +01:00 committed by Colin Darie
parent 42689e34ba
commit e483bfbc76
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
45 changed files with 69 additions and 69 deletions

View file

@ -1,4 +1,4 @@
describe 'instructeurs/procedures/_synthese.html.haml', type: :view do
describe 'instructeurs/procedures/_synthese', type: :view do
let(:current_instructeur) { create(:instructeur) }
let(:procedure) { create(:procedure) }
let!(:dossier) { create(:dossier, procedure: procedure) }
@ -7,7 +7,7 @@ describe 'instructeurs/procedures/_synthese.html.haml', type: :view do
let(:procedure2) { create(:procedure) }
subject {
render 'instructeurs/procedures/synthese.html.haml',
render 'instructeurs/procedures/synthese',
all_dossiers_counts: {
'à suivre': 0,
'suivis': 0,
@ -27,7 +27,7 @@ describe 'instructeurs/procedures/_synthese.html.haml', type: :view do
context 'when instructeur has 1 procedure and 1 file, table is not shown' do
subject {
render 'instructeurs/procedures/synthese.html.haml',
render 'instructeurs/procedures/synthese',
all_dossiers_counts: {
'à suivre': 0,
'suivis': 0,