summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/email
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-30 00:09:09 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-30 00:09:09 +0000
commitc36e59283ebcfd75281a9dda227ed060eeb5fbe7 (patch)
tree282c293bb93f3fc7798485b2410c47fdbf2cd50a /spec/lib/gitlab/email
parent27d314277bfe7fffec215efa9b1833a23bb82940 (diff)
downloadgitlab-ce-c36e59283ebcfd75281a9dda227ed060eeb5fbe7.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/email')
-rw-r--r--spec/lib/gitlab/email/receiver_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/lib/gitlab/email/receiver_spec.rb b/spec/lib/gitlab/email/receiver_spec.rb
index b764bb39682..d860968ab98 100644
--- a/spec/lib/gitlab/email/receiver_spec.rb
+++ b/spec/lib/gitlab/email/receiver_spec.rb
@@ -35,6 +35,12 @@ describe Gitlab::Email::Receiver do
it_behaves_like 'correctly finds the mail key'
end
+
+ context 'when enclosed with angle brackets in an Envelope-To header' do
+ let(:email_raw) { fixture_file('emails/envelope_to_header_with_angle_brackets.eml') }
+
+ it_behaves_like 'correctly finds the mail key'
+ end
end
context "when we cannot find a capable handler" do