diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-29 18:09:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-29 18:09:53 +0300 |
commit | 9c28b22cfc7b2b9306b9c72d53f5c88c3129eb67 (patch) | |
tree | 92e5e3ac55cfa092d473abca506546cf56e2215c /spec/mailers/notify_spec.rb | |
parent | ef59e05bd14aea8bf19bbe77c52116bfe24c7107 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/mailers/notify_spec.rb')
-rw-r--r-- | spec/mailers/notify_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb index 4b7f0057559..e2ee63078bb 100644 --- a/spec/mailers/notify_spec.rb +++ b/spec/mailers/notify_spec.rb @@ -2189,6 +2189,10 @@ RSpec.describe Notify do ) end end + + it 'includes only one link to the highlighted_diff_email' do + expect(subject.html_part.body.raw_source).to include('assets/mailers/highlighted_diff_email').once + end end it 'contains review author name' do |