summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-14 06:13:43 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-14 06:13:43 -0700
commitace9ff4a46d2cc97446fb984d86c3e468ff2e661 (patch)
tree1c8c3f5be5c7864da339018c098133ef89e6781e
parent627cb28f1134b98a686cc12abc9dc160931d7c25 (diff)
parent903090d1484408c8fe3fb91da28a6af17d3e288d (diff)
downloadgitlab-ce-ace9ff4a46d2cc97446fb984d86c3e468ff2e661.tar.gz
Merge pull request #5305 from saymedia/master
Fix the sigil for merge request emails
-rw-r--r--app/mailers/emails/notes.rb2
-rw-r--r--spec/mailers/notify_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/mailers/emails/notes.rb b/app/mailers/emails/notes.rb
index 761b4c8161f..ba4f0dd862c 100644
--- a/app/mailers/emails/notes.rb
+++ b/app/mailers/emails/notes.rb
@@ -18,7 +18,7 @@ module Emails
@note = Note.find(note_id)
@merge_request = @note.noteable
@project = @note.project
- mail(to: recipient(recipient_id), subject: subject("note for merge request !#{@merge_request.iid}"))
+ mail(to: recipient(recipient_id), subject: subject("note for merge request ##{@merge_request.iid}"))
end
def note_wall_email(recipient_id, note_id)
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb
index 0787bdbea6f..666c6ccefff 100644
--- a/spec/mailers/notify_spec.rb
+++ b/spec/mailers/notify_spec.rb
@@ -320,7 +320,7 @@ describe Notify do
it_behaves_like 'a note email'
it 'has the correct subject' do
- should have_subject /note for merge request !#{merge_request.iid}/
+ should have_subject /note for merge request ##{merge_request.iid}/
end
it 'contains a link to the merge request note' do