summaryrefslogtreecommitdiff
path: root/spec/mailers
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-12 17:44:02 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-12 17:44:02 +0200
commit7b1bb0f4db3f729a045bc086efa0c22ca3d9270b (patch)
treecc531d9dfbfc90952428550c737c77ff5cace745 /spec/mailers
parentea787165b3a9604aa86304e29778066bb014824e (diff)
parentd65d5c2d1a7e19c0a5a3ff6fcd68ce7fdf0661a2 (diff)
downloadgitlab-ce-7b1bb0f4db3f729a045bc086efa0c22ca3d9270b.tar.gz
Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into auto-fsck
Diffstat (limited to 'spec/mailers')
-rw-r--r--spec/mailers/shared/notify.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/mailers/shared/notify.rb b/spec/mailers/shared/notify.rb
index 56a6dbf96f9..5a85cb501dd 100644
--- a/spec/mailers/shared/notify.rb
+++ b/spec/mailers/shared/notify.rb
@@ -141,10 +141,12 @@ shared_examples 'a new user email' do
end
shared_examples 'it should have Gmail Actions links' do
+ it { is_expected.to have_body_text '<script type="application/ld+json">' }
it { is_expected.to have_body_text /ViewAction/ }
end
shared_examples 'it should not have Gmail Actions links' do
+ it { is_expected.to_not have_body_text '<script type="application/ld+json">' }
it { is_expected.to_not have_body_text /ViewAction/ }
end