summaryrefslogtreecommitdiff
path: root/spec/services/projects/housekeeping_service_spec.rb
blob: 0aa4a1cd312bdb69e74b8ca3cd89445481877427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# frozen_string_literal: true

require 'spec_helper'

# This is a compatibility class to avoid calling a non-existent
# class from sidekiq during deployment.
#
# We're deploying the name of the referenced class in 13.9. Nevertheless,
# we cannot remove the class entirely because there can be jobs
# referencing it. We still need this specs to ensure that the old
# class still has the old behavior.
#
# We can get rid of this class in 13.10
# https://gitlab.com/gitlab-org/gitlab/-/issues/297580
#
RSpec.describe Projects::HousekeepingService do
  it_behaves_like 'housekeeps repository' do
    let_it_be(:resource) { create(:project, :repository) }
  end
end