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,10 +1,10 @@
describe 'shared/dossiers/edit.html.haml', type: :view do
describe 'shared/dossiers/edit', type: :view do
before do
allow(controller).to receive(:current_user).and_return(dossier.user)
allow(view).to receive(:administrateur_signed_in?).and_return(false)
end
subject { render 'shared/dossiers/edit.html.haml', dossier: dossier, apercu: false }
subject { render 'shared/dossiers/edit', dossier: dossier, apercu: false }
context 'when there are some champs' do
let(:dossier) { create(:dossier) }