Commit 6d3752fe authored by Małgorzata Ksionek's avatar Małgorzata Ksionek

Add namespace settings to groups factory

parent 340384fe
......@@ -7,7 +7,6 @@ FactoryBot.define do
type { 'Group' }
owner { nil }
project_creation_level { ::Gitlab::Access::MAINTAINER_PROJECT_ACCESS }
association :namespace_settings, factory: :namespace_settings
after(:create) do |group|
if group.owner
......@@ -24,7 +23,7 @@ FactoryBot.define do
end
trait :internal do
visibility_level { Gitlab::VisibilityLevel::INTERNAL }
visibility_level {Gitlab::VisibilityLevel::INTERNAL }
end
trait :private do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment