diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-25 06:08:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-25 06:08:49 +0300 |
commit | a8c82a6395ed62380b9061a26d92e41d46c2877e (patch) | |
tree | bd8ab49ac11104ad9ae953afd4c5e0036fdddaa2 /spec/workers/remote_mirror_notification_worker_spec.rb | |
parent | 0b881f91159cc97ccb7328a2e52977a60ea83fbe (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/remote_mirror_notification_worker_spec.rb')
-rw-r--r-- | spec/workers/remote_mirror_notification_worker_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/workers/remote_mirror_notification_worker_spec.rb b/spec/workers/remote_mirror_notification_worker_spec.rb index 5182f67b4af..c9321fd7c56 100644 --- a/spec/workers/remote_mirror_notification_worker_spec.rb +++ b/spec/workers/remote_mirror_notification_worker_spec.rb @@ -3,8 +3,8 @@ require 'spec_helper' describe RemoteMirrorNotificationWorker, :mailer do - set(:project) { create(:project, :repository, :remote_mirror) } - set(:mirror) { project.remote_mirrors.first } + let_it_be(:project) { create(:project, :repository, :remote_mirror) } + let_it_be(:mirror) { project.remote_mirrors.first } describe '#execute' do it 'calls NotificationService#remote_mirror_update_failed when the mirror exists' do |