diff options
Diffstat (limited to 'spec/workers/remote_mirror_notification_worker_spec.rb')
-rw-r--r-- | spec/workers/remote_mirror_notification_worker_spec.rb | 2 |
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 c6fd614fdea..e415e72645c 100644 --- a/spec/workers/remote_mirror_notification_worker_spec.rb +++ b/spec/workers/remote_mirror_notification_worker_spec.rb @@ -6,7 +6,7 @@ RSpec.describe RemoteMirrorNotificationWorker, :mailer do let_it_be(:project) { create(:project, :repository, :remote_mirror) } let_it_be(:mirror) { project.remote_mirrors.first } - describe '#execute' do + describe '#perform' do it 'calls NotificationService#remote_mirror_update_failed when the mirror exists' do mirror.update_column(:last_error, "There was a problem fetching") |