Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pages_deployments.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1bea003d68375987da9fb8da20d75db869a4b10c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

FactoryBot.define do
  factory :pages_deployment, class: 'PagesDeployment' do
    project
    file_store { ObjectStorage::SUPPORTED_STORES.first }
    size { 1.megabytes }

    # TODO: replace with proper file uploaded in https://gitlab.com/gitlab-org/gitlab/-/issues/245295
    file { "dummy string" }
  end
end