diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-20 17:44:13 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-25 13:13:46 +0100 |
commit | 6afb03ee96a2f0c36e69a6da4e10dbe298c5b79f (patch) | |
tree | 7f57e5bb0636012bd29e31873f074046231ba043 /spec/mailers | |
parent | 607f0c05feb2cde82493a36ac43ba5ecd6c71620 (diff) | |
download | gitlab-ce-6afb03ee96a2f0c36e69a6da4e10dbe298c5b79f.tar.gz |
Remove incorrect footer from EmailsOnPush body.
See #1754.
Diffstat (limited to 'spec/mailers')
-rw-r--r-- | spec/mailers/notify_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb index ae2b61262bd..41b0daacded 100644 --- a/spec/mailers/notify_spec.rb +++ b/spec/mailers/notify_spec.rb @@ -597,6 +597,10 @@ describe Notify do it 'contains a link to the diff' do is_expected.to have_body_text /#{diff_path}/ end + + it 'doesn not contain the misleading footer' do + is_expected.not_to have_body_text /you are a member of/ + end end describe 'email on push with a single commit' do |