summaryrefslogtreecommitdiff
path: root/spec/support/shared_examples/mailers
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-12-15 18:13:38 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-12-15 18:13:38 +0000
commit22baaecaa84003c554f35752a729331e956d7659 (patch)
tree962715eb89b3dfb85efc6b1bcc964036d04df77f /spec/support/shared_examples/mailers
parent231a6ae572807c481b71d906cad717fdffc85e0f (diff)
downloadgitlab-ce-22baaecaa84003c554f35752a729331e956d7659.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/shared_examples/mailers')
-rw-r--r--spec/support/shared_examples/mailers/notify_shared_examples.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/support/shared_examples/mailers/notify_shared_examples.rb b/spec/support/shared_examples/mailers/notify_shared_examples.rb
index e1f7a9030e2..20ed380fb18 100644
--- a/spec/support/shared_examples/mailers/notify_shared_examples.rb
+++ b/spec/support/shared_examples/mailers/notify_shared_examples.rb
@@ -161,6 +161,12 @@ RSpec.shared_examples 'it should not have Gmail Actions links' do
end
end
+RSpec.shared_examples 'it should show Gmail Actions Join now link' do
+ it_behaves_like 'it should have Gmail Actions links'
+
+ it { is_expected.to have_body_text('Join now') }
+end
+
RSpec.shared_examples 'it should show Gmail Actions View Issue link' do
it_behaves_like 'it should have Gmail Actions links'