app: rename new_administrateur to administrateurs

This commit is contained in:
Pierre de La Morinerie 2021-11-25 15:26:55 +00:00
parent 5736521f52
commit 184a401182
97 changed files with 155 additions and 158 deletions

View file

@ -0,0 +1,17 @@
describe 'administrateurs/mail_templates/edit.html.haml', type: :view do
let(:procedure) { create(:procedure) }
let(:mail_template) { create(:received_mail, procedure: procedure) }
let(:all_tags) { mail_template.tags }
before do
allow(view).to receive(:admin_procedure_mail_templates_path).and_return("/toto")
allow(view).to receive(:admin_procedure_mail_templates_path).and_return("/toto")
assign(:mail_template, mail_template)
assign(:procedure, procedure)
end
context "Champs are listed in the page" do
it { expect(all_tags).to include(include({ libelle: 'numéro du dossier' })) }
end
end