summaryrefslogtreecommitdiff
path: root/spec/mailers
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-25 15:12:19 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-25 15:12:19 +0100
commit5d86332153838252384f9f87a0ae3e34c46eb266 (patch)
tree47de3c1f04c5b2302f6269d6284d68cd29158214 /spec/mailers
parent769f137a5344dbc3748c2fea7c1d560392410ca4 (diff)
downloadgitlab-ce-5d86332153838252384f9f87a0ae3e34c46eb266.tar.gz
Send EmailsOnPush when deleting commits using force push.
See #1924.
Diffstat (limited to 'spec/mailers')
-rw-r--r--spec/mailers/notify_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb
index ad2b7c11f84..9af17942612 100644
--- a/spec/mailers/notify_spec.rb
+++ b/spec/mailers/notify_spec.rb
@@ -571,7 +571,7 @@ describe Notify do
let(:diff_path) { namespace_project_compare_path(project.namespace, project, from: commits.first, to: commits.last) }
let(:send_from_committer_email) { false }
- subject { Notify.repository_push_email(project.id, 'devs@company.name', user.id, 'master', compare, send_from_committer_email) }
+ subject { Notify.repository_push_email(project.id, 'devs@company.name', user.id, 'master', compare, false, send_from_committer_email) }
it 'is sent as the author' do
sender = subject.header[:from].addrs[0]