debian-mirror-gitlab/spec/services/repositories/housekeeping_service_spec.rb
2021-03-08 18:12:59 +05:30

14 lines
371 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Repositories::HousekeepingService do
it_behaves_like 'housekeeps repository' do
let_it_be(:resource) { create(:project, :repository) }
end
it_behaves_like 'housekeeps repository' do
let_it_be(:project) { create(:project, :wiki_repo) }
let_it_be(:resource) { project.wiki }
end
end