debian-mirror-gitlab/spec/lib/gitlab/local_and_remote_storage_migration/artifact_migrater_spec.rb
2021-07-08 21:50:14 +05:30

15 lines
431 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
require 'support/shared_examples/lib/gitlab/local_and_remote_storage_migration_shared_examples'
RSpec.describe Gitlab::LocalAndRemoteStorageMigration::ArtifactMigrater do
before do
stub_artifacts_object_storage(enabled: true)
end
let!(:item) { create(:ci_job_artifact, :archive, file_store: start_store) }
it_behaves_like 'local and remote storage migration'
end