2020-05-24 23:13:21 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
RSpec.describe API::ProjectRepositoryStorageMoves do
|
2021-03-08 18:12:59 +05:30
|
|
|
it_behaves_like 'repository_storage_moves API', 'projects' do
|
|
|
|
let_it_be(:container) { create(:project, :repository).tap { |project| project.track_project_repository } }
|
|
|
|
let_it_be(:storage_move) { create(:project_repository_storage_move, :scheduled, container: container) }
|
|
|
|
let(:repository_storage_move_factory) { :project_repository_storage_move }
|
|
|
|
let(:bulk_worker_klass) { ProjectScheduleBulkRepositoryShardMovesWorker }
|
2021-02-22 17:27:13 +05:30
|
|
|
end
|
2020-05-24 23:13:21 +05:30
|
|
|
end
|