diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-04-12 17:44:02 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-04-12 17:44:02 +0200 |
commit | 7b1bb0f4db3f729a045bc086efa0c22ca3d9270b (patch) | |
tree | cc531d9dfbfc90952428550c737c77ff5cace745 /spec/mailers | |
parent | ea787165b3a9604aa86304e29778066bb014824e (diff) | |
parent | d65d5c2d1a7e19c0a5a3ff6fcd68ce7fdf0661a2 (diff) | |
download | gitlab-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.rb | 2 |
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 |