summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormicael.bergeron <micaelbergeron@gmail.com>2017-10-12 09:18:15 -0400
committermicael.bergeron <micaelbergeron@gmail.com>2017-10-12 09:18:15 -0400
commit486da72f2801cae0a170e4e4eafc4b928cd3f060 (patch)
tree73d117bc2f92d3b41aedd51f87c2400971960991
parent38f0f7e8ccdd86ffb2f149bb4ae3bcb377efbd0a (diff)
downloadgitlab-ce-486da72f2801cae0a170e4e4eafc4b928cd3f060.tar.gz
fix a wrong method call in the refactor
-rw-r--r--spec/support/email_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/email_helpers.rb b/spec/support/email_helpers.rb
index a9976972268..b39052923dd 100644
--- a/spec/support/email_helpers.rb
+++ b/spec/support/email_helpers.rb
@@ -20,7 +20,7 @@ module EmailHelpers
end
def should_not_email(user, recipients: email_recipients)
- should_email(user, times: 0)
+ should_email(user, times: 0, recipients: recipients)
end
def should_not_email_anyone