summaryrefslogtreecommitdiff
path: root/spec/mailers/notify_spec.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-20 17:44:13 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-25 13:13:46 +0100
commit6afb03ee96a2f0c36e69a6da4e10dbe298c5b79f (patch)
tree7f57e5bb0636012bd29e31873f074046231ba043 /spec/mailers/notify_spec.rb
parent607f0c05feb2cde82493a36ac43ba5ecd6c71620 (diff)
downloadgitlab-ce-6afb03ee96a2f0c36e69a6da4e10dbe298c5b79f.tar.gz
Remove incorrect footer from EmailsOnPush body.
See #1754.
Diffstat (limited to 'spec/mailers/notify_spec.rb')
-rw-r--r--spec/mailers/notify_spec.rb4
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