Commit baddaee3 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'cablett-email-link' into 'master'

Update email to include issue link

See merge request gitlab-org/gitlab!32833
parents 0539040d 85543b99
%p.details
#{link_to @issue.author_name, user_url(@issue.author)} created an issue:
#{link_to @issue.author_name, user_url(@issue.author)} created an issue #{link_to @issue.to_reference(full: false), issue_url(@issue)}:
- if @issue.assignees.any?
%p
......
---
title: Add new issue link to email notification header
merge_request: 32833
author:
type: changed
......@@ -104,7 +104,11 @@ describe Notify do
it 'contains a link to issue author' do
is_expected.to have_body_text(issue.author_name)
is_expected.to have_body_text 'created an issue:'
is_expected.to have_body_text 'created an issue'
end
it 'contains a link to the issue' do
is_expected.to have_body_text(issue.to_reference(full: false))
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment