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:
authorDouwe Maan <douwe@gitlab.com>2015-02-20 19:44:13 +0300
committerDouwe Maan <douwe@gitlab.com>2015-02-25 15:13:46 +0300
commit6afb03ee96a2f0c36e69a6da4e10dbe298c5b79f (patch)
tree7f57e5bb0636012bd29e31873f074046231ba043 /spec/mailers
parent607f0c05feb2cde82493a36ac43ba5ecd6c71620 (diff)
Remove incorrect footer from EmailsOnPush body.
See #1754.
Diffstat (limited to 'spec/mailers')
-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