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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-09-18 12:09:32 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-09-18 12:09:32 +0300
commita8b87b4fe0ebd38c0f1d7789ae768a6bcacb6c51 (patch)
treec1526cfec8ac3d9189188e08265ef1110419f643 /spec/factories/plan_limits.rb
parent0115b63f646be489bb9685dad0e4b0747a79de05 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/plan_limits.rb')
-rw-r--r--spec/factories/plan_limits.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/factories/plan_limits.rb b/spec/factories/plan_limits.rb
index 4aea09618d0..ae892307193 100644
--- a/spec/factories/plan_limits.rb
+++ b/spec/factories/plan_limits.rb
@@ -7,5 +7,14 @@ FactoryBot.define do
trait :default_plan do
plan factory: :default_plan
end
+
+ 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
end
end