Welcome to mirror list, hosted at ThFree Co, Russian Federation.

schedule_annotations_prune_worker_spec.rb « dashboard « metrics « workers « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e0a5a8fd448af83b0e4795ee95e492e188c18923 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'spec_helper'

RSpec.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