diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-03 06:07:59 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-03 06:07:59 +0000 |
commit | f321e51f46bcb628c3e96a44b5ebf3bb1c4033ab (patch) | |
tree | 41a470ff35cd211b308b1b4900935a225f103f32 /spec/support | |
parent | 612a849a6cba1765bc41d30d4e931195dcdf64cf (diff) | |
download | gitlab-ce-f321e51f46bcb628c3e96a44b5ebf3bb1c4033ab.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support')
-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 |