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

15 lines
454 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::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