summaryrefslogtreecommitdiff
path: root/spec/workers/namespaces/root_statistics_worker_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/namespaces/root_statistics_worker_spec.rb')
-rw-r--r--spec/workers/namespaces/root_statistics_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/namespaces/root_statistics_worker_spec.rb b/spec/workers/namespaces/root_statistics_worker_spec.rb
index 6bbdfe03ceb..45e75c9b0da 100644
--- a/spec/workers/namespaces/root_statistics_worker_spec.rb
+++ b/spec/workers/namespaces/root_statistics_worker_spec.rb
@@ -42,7 +42,7 @@ describe Namespaces::RootStatisticsWorker, '#perform' do
allow_any_instance_of(Namespace::AggregationSchedule)
.to receive(:schedule_root_storage_statistics).and_return(nil)
- expect(Gitlab::SidekiqLogger).to receive(:error).once
+ expect(Gitlab::ErrorTracking).to receive(:track_exception).once
worker.perform(group.id)
end