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>2022-06-10 15:09:36 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-10 15:09:36 +0300
commit948023c9c900344aa1e2f334bcaae5a194873b0d (patch)
tree846c5dbcec70436bca337d970bd11082f91eeb66 /spec/factories
parentf42c4be1c0d5247fac0c059ec41c9a1961485aed (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/plan_limits.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/factories/plan_limits.rb b/spec/factories/plan_limits.rb
index ad10629af05..1e4f70cd925 100644
--- a/spec/factories/plan_limits.rb
+++ b/spec/factories/plan_limits.rb
@@ -6,8 +6,10 @@ FactoryBot.define do
dast_profile_schedules { 50 }
- trait :default_plan do
- plan factory: :default_plan
+ Plan.all_plans.each do |plan|
+ trait :"#{plan}_plan" do
+ plan factory: :"#{plan}_plan"
+ end
end
trait :with_package_file_sizes do