debian-mirror-gitlab/spec/workers/metrics/dashboard/schedule_annotations_prune_worker_spec.rb
2020-06-23 00:09:42 +05:30

14 lines
352 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
describe Metrics::Dashboard::ScheduleAnnotationsPruneWorker do
describe '#perform' do
it 'schedules annotations prune job with default cut off date' do
expect(Metrics::Dashboard::PruneOldAnnotationsWorker).to receive(:perform_async)
described_class.new.perform
end
end
end