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 'shared/dossiers/champs.html.haml', type: :view do
describe 'shared/dossiers/champs', type: :view do
let(:instructeur) { create(:instructeur) }
let(:demande_seen_at) { nil }
@ -8,7 +8,7 @@ describe 'shared/dossiers/champs.html.haml', type: :view do
allow(view).to receive(:current_instructeur).and_return(instructeur)
end
subject { render 'shared/dossiers/champs.html.haml', champs: champs, dossier: dossier, demande_seen_at: demande_seen_at, profile: nil }
subject { render 'shared/dossiers/champs', champs: champs, dossier: dossier, demande_seen_at: demande_seen_at, profile: nil }
context "there are some champs" do
let(:dossier) { create(:dossier) }