debian-mirror-gitlab/spec/factories/plan_limits.rb
2022-01-26 12:08:38 +05:30

23 lines
494 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :plan_limits do
plan
dast_profile_schedules { 50 }
trait :default_plan do
plan factory: :default_plan
end
trait :with_package_file_sizes do
conan_max_file_size { 100 }
helm_max_file_size { 100 }
maven_max_file_size { 100 }
npm_max_file_size { 100 }
nuget_max_file_size { 100 }
pypi_max_file_size { 100 }
generic_packages_max_file_size { 100 }
end
end
end