summaryrefslogtreecommitdiff
path: root/spec/support/helpers
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-03 06:07:59 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-03 06:07:59 +0000
commitf321e51f46bcb628c3e96a44b5ebf3bb1c4033ab (patch)
tree41a470ff35cd211b308b1b4900935a225f103f32 /spec/support/helpers
parent612a849a6cba1765bc41d30d4e931195dcdf64cf (diff)
downloadgitlab-ce-f321e51f46bcb628c3e96a44b5ebf3bb1c4033ab.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/helpers')
-rw-r--r--spec/support/helpers/notification_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers/notification_helpers.rb b/spec/support/helpers/notification_helpers.rb
index aee76b8be4a..b3e0e7d811b 100644
--- a/spec/support/helpers/notification_helpers.rb
+++ b/spec/support/helpers/notification_helpers.rb
@@ -57,7 +57,7 @@ module NotificationHelpers
expect(ActionMailer::DeliveryJob).to have_been_enqueued.with(mailer, mail, delivery, *args)
end
- def expect_not_enqueud_email(*args, mailer: "Notify", mail: "", delivery: "deliver_now")
+ def expect_not_enqueud_email(*args, mailer: "Notify", mail: "")
expect(ActionMailer::DeliveryJob).not_to have_been_enqueued.with(mailer, mail, *args, any_args)
end
end