mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-23 00:47:51 +00:00
15 lines
371 B
Ruby
15 lines
371 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :application_setting do
|
|
default_projects_limit { 42 }
|
|
import_sources { [] }
|
|
restricted_visibility_levels { [] }
|
|
default_branch_protection_defaults { ::Gitlab::Access::BranchProtection.protection_none }
|
|
|
|
after(:build) do |settings|
|
|
settings.ensure_key_restrictions!
|
|
end
|
|
end
|
|
end
|