gitlab-org--gitlab-foss/spec/factories/application_settings.rb

13 lines
277 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :application_setting do
default_projects_limit { 42 }
import_sources { [] }
restricted_visibility_levels { [] }
after(:build) do |settings|
settings.ensure_key_restrictions!
end
end
end