debian-mirror-gitlab/spec/services/projects/housekeeping_service_spec.rb

21 lines
661 B
Ruby
Raw Normal View History

2019-07-31 22:56:46 +05:30
# frozen_string_literal: true
2016-06-02 11:05:42 +05:30
require 'spec_helper'
2021-03-08 18:12:59 +05:30
# 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
#
2020-07-28 23:09:34 +05:30
RSpec.describe Projects::HousekeepingService do
2021-03-08 18:12:59 +05:30
it_behaves_like 'housekeeps repository' do
let_it_be(:resource) { create(:project, :repository) }
2016-06-02 11:05:42 +05:30
end
end