diff options
Diffstat (limited to 'spec/mailers/devise_mailer_spec.rb')
-rw-r--r-- | spec/mailers/devise_mailer_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/mailers/devise_mailer_spec.rb b/spec/mailers/devise_mailer_spec.rb index b8e768b7a5f..6eb0e817803 100644 --- a/spec/mailers/devise_mailer_spec.rb +++ b/spec/mailers/devise_mailer_spec.rb @@ -131,6 +131,10 @@ RSpec.describe DeviseMailer do it 'includes a link to reset the password' do is_expected.to have_link("Reset password", href: "#{Gitlab.config.gitlab.url}/users/password/edit?reset_password_token=faketoken") end + + it 'has the mailgun suppression bypass header' do + is_expected.to have_header 'X-Mailgun-Suppressions-Bypass', 'true' + end end describe '#email_changed' do |