debian-mirror-gitlab/spec/factories/application_settings.rb
2022-07-29 14:03:07 +02:00

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