Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/remote_mirror_notification_worker_spec.rb')
-rw-r--r--spec/workers/remote_mirror_notification_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/remote_mirror_notification_worker_spec.rb b/spec/workers/remote_mirror_notification_worker_spec.rb
index c9321fd7c56..f0fb46f84d9 100644
--- a/spec/workers/remote_mirror_notification_worker_spec.rb
+++ b/spec/workers/remote_mirror_notification_worker_spec.rb
@@ -26,7 +26,7 @@ describe RemoteMirrorNotificationWorker, :mailer do
it 'does nothing when the mirror does not exist' do
expect(NotificationService).not_to receive(:new)
- subject.perform(RemoteMirror.maximum(:id).to_i.succ)
+ subject.perform(non_existing_record_id)
end
it 'does nothing when a notification has already been sent' do