diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-07-16 13:46:00 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-07-16 13:46:00 +0200 |
commit | f794b9989d7b791522b1df41dc2824e47147ef5b (patch) | |
tree | 18a2faf4adb17e118b8359db4b0b9c7a881f6a2c /spec/mailers | |
parent | dce9599ef53dcdeb035b339510b759d71ad10f1e (diff) | |
download | gitlab-ce-f794b9989d7b791522b1df41dc2824e47147ef5b.tar.gz |
Update notification specs after renaming a class
Diffstat (limited to 'spec/mailers')
-rw-r--r-- | spec/mailers/notify_spec.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb index 581132b6672..ff1a5aa2536 100644 --- a/spec/mailers/notify_spec.rb +++ b/spec/mailers/notify_spec.rb @@ -1366,7 +1366,8 @@ describe Notify do it 'only sends the text template' do stub_application_setting(html_emails_enabled: false) - EmailTemplateInterceptor.delivering_email(multipart_mail) + Gitlab::Email::Hook::EmailTemplateInterceptor + .delivering_email(multipart_mail) expect(multipart_mail).to have_part_with('text/plain') expect(multipart_mail).not_to have_part_with('text/html') @@ -1377,7 +1378,8 @@ describe Notify do it 'sends a multipart message' do stub_application_setting(html_emails_enabled: true) - EmailTemplateInterceptor.delivering_email(multipart_mail) + Gitlab::Email::Hook::EmailTemplateInterceptor + .delivering_email(multipart_mail) expect(multipart_mail).to have_part_with('text/plain') expect(multipart_mail).to have_part_with('text/html') |