diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-15 18:13:38 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-15 18:13:38 +0000 |
commit | 22baaecaa84003c554f35752a729331e956d7659 (patch) | |
tree | 962715eb89b3dfb85efc6b1bcc964036d04df77f /spec/support/shared_examples/mailers | |
parent | 231a6ae572807c481b71d906cad717fdffc85e0f (diff) | |
download | gitlab-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.rb | 6 |
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' |