fix: remove hardcoded .html.haml
from render
calls since it no longer works
This commit is contained in:
parent
42689e34ba
commit
e483bfbc76
45 changed files with 69 additions and 69 deletions
|
@ -1,9 +1,9 @@
|
|||
describe 'instructeurs/dossiers/envoyer_dossier_block.html.haml', type: :view do
|
||||
describe 'instructeurs/dossiers/envoyer_dossier_block', type: :view do
|
||||
let(:dossier) { create(:dossier) }
|
||||
|
||||
subject do
|
||||
render(
|
||||
'instructeurs/dossiers/envoyer_dossier_block.html.haml',
|
||||
'instructeurs/dossiers/envoyer_dossier_block',
|
||||
dossier: dossier,
|
||||
potential_recipients: potential_recipients
|
||||
)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
describe 'instructeur/dossiers/expiration_banner.html.haml', type: :view do
|
||||
describe 'instructeur/dossiers/expiration_banner', type: :view do
|
||||
include DossierHelper
|
||||
let(:duree_conservation_dossiers_dans_ds) { 3 }
|
||||
let(:dossier) do
|
||||
|
@ -10,7 +10,7 @@ describe 'instructeur/dossiers/expiration_banner.html.haml', type: :view do
|
|||
end
|
||||
let(:i18n_key_state) { state }
|
||||
subject do
|
||||
render('instructeurs/dossiers/expiration_banner.html.haml',
|
||||
render('instructeurs/dossiers/expiration_banner',
|
||||
dossier: dossier,
|
||||
current_user: build(:user))
|
||||
end
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
describe 'instructeurs/dossiers/instruction_button.html.haml', type: :view do
|
||||
describe 'instructeurs/dossiers/instruction_button', type: :view do
|
||||
include DossierHelper
|
||||
|
||||
subject! do
|
||||
render('instructeurs/dossiers/instruction_button.html.haml', dossier: dossier)
|
||||
render('instructeurs/dossiers/instruction_button', dossier: dossier)
|
||||
end
|
||||
|
||||
matcher :have_dropdown_title do |expected_title|
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
describe 'instructeurs/dossiers/instruction_button_motivation.html.haml', type: :view do
|
||||
describe 'instructeurs/dossiers/instruction_button_motivation', type: :view do
|
||||
let(:dossier) { create(:dossier, :en_instruction) }
|
||||
|
||||
subject do
|
||||
render(
|
||||
'instructeurs/dossiers/instruction_button_motivation.html.haml',
|
||||
'instructeurs/dossiers/instruction_button_motivation',
|
||||
dossier: dossier,
|
||||
popup_title: 'Accepter le dossier',
|
||||
placeholder: 'Expliquez au demandeur pourquoi ce dossier est accepté (facultatif)',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
describe 'instructeurs/dossiers/print.html.haml', type: :view do
|
||||
describe 'instructeurs/dossiers/print', type: :view do
|
||||
before { view.extend DossierHelper }
|
||||
|
||||
context "with a dossier" do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
describe 'instructeurs/dossiers/show.html.haml', type: :view do
|
||||
describe 'instructeurs/dossiers/show', type: :view do
|
||||
let(:current_instructeur) { create(:instructeur) }
|
||||
let(:dossier) { create(:dossier, :en_construction) }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue