diff options
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 |