diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-03 09:07:59 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-03 09:07:59 +0300 |
commit | f321e51f46bcb628c3e96a44b5ebf3bb1c4033ab (patch) | |
tree | 41a470ff35cd211b308b1b4900935a225f103f32 /spec/support/helpers | |
parent | 612a849a6cba1765bc41d30d4e931195dcdf64cf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/helpers')
-rw-r--r-- | spec/support/helpers/notification_helpers.rb | 2 |
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 |