2020-04-22 11:09:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
FactoryBot.define do
|
|
|
|
factory :plan_limits do
|
|
|
|
plan
|
|
|
|
|
|
|
|
trait :default_plan do
|
|
|
|
plan factory: :default_plan
|
|
|
|
end
|
2020-09-18 05:09:32 -04:00
|
|
|
|
|
|
|
trait :with_package_file_sizes do
|
|
|
|
conan_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
|
2020-04-22 11:09:27 -04:00
|
|
|
end
|
|
|
|
end
|