diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-16 09:09:57 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-16 09:09:57 +0300 |
commit | 93c27b216aa57d57ebd8f5f2581e45dc300324b8 (patch) | |
tree | a6cbeb92b9f24baf499cc9ed276e1c0a70ea50c7 /spec/services/notification_service_spec.rb | |
parent | 43b91399aeb9f58afc9599b51a941b2bbc745a28 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/notification_service_spec.rb')
-rw-r--r-- | spec/services/notification_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/notification_service_spec.rb b/spec/services/notification_service_spec.rb index f3cd2776ce7..55d712c4a86 100644 --- a/spec/services/notification_service_spec.rb +++ b/spec/services/notification_service_spec.rb @@ -105,7 +105,7 @@ RSpec.describe NotificationService, :mailer do recipient_1 = NotificationRecipient.new(user_1, :custom, custom_action: :new_release) allow(NotificationRecipients::BuildService).to receive(:build_new_release_recipients).and_return([recipient_1]) - expect(Gitlab::AppLogger).to receive(:warn).with(message: 'Skipping sending notifications', user: current_user.id, klass: object.class, object_id: object.id) + expect(Gitlab::AppLogger).to receive(:warn).with(message: 'Skipping sending notifications', user: current_user.id, klass: object.class.to_s, object_id: object.id) action |