summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/local_and_remote_storage_migration/pages_deployment_migrater_spec.rb
blob: 2cc48b445f11d0dcc221e6761de86abc56bdf182 (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::PagesDeploymentMigrater do
  before do
    stub_pages_object_storage(::Pages::DeploymentUploader, enabled: true)
  end

  let!(:item) { create(:pages_deployment, file_store: start_store) }

  it_behaves_like 'local and remote storage migration'
end