summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/local_and_remote_storage_migration/artifact_migrater_spec.rb
blob: b3f2003c207ea8daf18b9217a39d241ad699ea1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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