diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-30 03:09:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-30 03:09:09 +0300 |
commit | c36e59283ebcfd75281a9dda227ed060eeb5fbe7 (patch) | |
tree | 282c293bb93f3fc7798485b2410c47fdbf2cd50a /spec/lib/gitlab/email | |
parent | 27d314277bfe7fffec215efa9b1833a23bb82940 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/email')
-rw-r--r-- | spec/lib/gitlab/email/receiver_spec.rb | 6 |
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 |