From eeb011e34a2ccc3ff8a37bd91d8cb7b5cc033228 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 18 Feb 2014 11:14:04 +0100 Subject: [PATCH] Remove the author name from issue notes emails Rationale: the author name is now displayed in the email "From" field; this information is no longer needed. --- app/views/notify/_note_message.html.haml | 4 ---- spec/mailers/notify_spec.rb | 4 ---- 2 files changed, 8 deletions(-) diff --git a/app/views/notify/_note_message.html.haml b/app/views/notify/_note_message.html.haml index 9e329af2d47..ba2ed5697ba 100644 --- a/app/views/notify/_note_message.html.haml +++ b/app/views/notify/_note_message.html.haml @@ -1,6 +1,2 @@ -%p - %strong #{@note.author_name} - wrote: - %cite{style: 'color: #666'} = markdown(@note.note) diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb index bc375622b32..f990ed659b8 100644 --- a/spec/mailers/notify_spec.rb +++ b/spec/mailers/notify_spec.rb @@ -353,10 +353,6 @@ describe Notify do should deliver_to recipient.email end - it 'contains the name of the note\'s author' do - should have_body_text /#{note_author.name}/ - end - it 'contains the message from the note' do should have_body_text /#{note.note}/ end