Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-12 18:44:02 +0300
committerJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-12 18:44:02 +0300
commit7b1bb0f4db3f729a045bc086efa0c22ca3d9270b (patch)
treecc531d9dfbfc90952428550c737c77ff5cace745 /spec/mailers
parentea787165b3a9604aa86304e29778066bb014824e (diff)
parentd65d5c2d1a7e19c0a5a3ff6fcd68ce7fdf0661a2 (diff)
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