summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorFrank van Rest <frank@dedact.nl>2019-04-19 20:10:52 +0200
committerAlexandru Croitor <acroitor@gitlab.com>2019-06-21 13:48:43 +0300
commitdf4c1a75dec4da15c38066ca73312ed91baeb782 (patch)
tree9e288e1f2bfd26a32a56b4a227bc2f7a52d3b852 /spec/support
parent4298a28a993363f4ab6b63c14820492393a3ae94 (diff)
downloadgitlab-ce-df4c1a75dec4da15c38066ca73312ed91baeb782.tar.gz
Uniform html and text emails58065-uniform-html-txt-email
Uniform new_issue_email html and text emails Uniform note_email html and text emails Uniform new_merge_request_email html and text emails
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/shared_examples/notify_shared_examples.rb14
1 files changed, 2 insertions, 12 deletions
diff --git a/spec/support/shared_examples/notify_shared_examples.rb b/spec/support/shared_examples/notify_shared_examples.rb
index 897c9106d77..6894a63ce42 100644
--- a/spec/support/shared_examples/notify_shared_examples.rb
+++ b/spec/support/shared_examples/notify_shared_examples.rb
@@ -281,18 +281,8 @@ shared_examples 'a note email' do
is_expected.to have_body_text note.note
end
- it 'does not contain note author' do
- is_expected.not_to have_body_text note.author_name
- end
-
- context 'when enabled email_author_in_body' do
- before do
- stub_application_setting(email_author_in_body: true)
- end
-
- it 'contains a link to note author' do
- is_expected.to have_body_text note.author_name
- end
+ it 'contains a link to note author' do
+ is_expected.to have_body_text note.author_name
end
end