Adapt configuration email view to the new UI
This commit is contained in:
parent
759298ddfa
commit
9b66c894b2
5 changed files with 35 additions and 12 deletions
|
@ -6,16 +6,6 @@ describe Admin::MailTemplatesController, type: :controller do
|
|||
sign_in(procedure.administrateurs.first.user)
|
||||
end
|
||||
|
||||
describe 'GET index' do
|
||||
render_views
|
||||
|
||||
subject { get :index, params: { procedure_id: procedure.id } }
|
||||
|
||||
it { expect(subject.status).to eq 200 }
|
||||
it { expect(subject.body).to include("E-mails personnalisables") }
|
||||
it { expect(subject.body).to include(Mails::InitiatedMail::DISPLAYED_NAME) }
|
||||
end
|
||||
|
||||
describe 'PATCH update' do
|
||||
let(:mail_subject) { 'plop modif' }
|
||||
let(:mail_body) { 'plip modif' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue