Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6d3752fe
Commit
6d3752fe
authored
Oct 02, 2020
by
Małgorzata Ksionek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add namespace settings to groups factory
parent
340384fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
spec/factories/groups.rb
spec/factories/groups.rb
+1
-2
No files found.
spec/factories/groups.rb
View file @
6d3752fe
...
@@ -7,7 +7,6 @@ FactoryBot.define do
...
@@ -7,7 +7,6 @@ FactoryBot.define do
type
{
'Group'
}
type
{
'Group'
}
owner
{
nil
}
owner
{
nil
}
project_creation_level
{
::
Gitlab
::
Access
::
MAINTAINER_PROJECT_ACCESS
}
project_creation_level
{
::
Gitlab
::
Access
::
MAINTAINER_PROJECT_ACCESS
}
association
:namespace_settings
,
factory: :namespace_settings
after
(
:create
)
do
|
group
|
after
(
:create
)
do
|
group
|
if
group
.
owner
if
group
.
owner
...
@@ -24,7 +23,7 @@ FactoryBot.define do
...
@@ -24,7 +23,7 @@ FactoryBot.define do
end
end
trait
:internal
do
trait
:internal
do
visibility_level
{
Gitlab
::
VisibilityLevel
::
INTERNAL
}
visibility_level
{
Gitlab
::
VisibilityLevel
::
INTERNAL
}
end
end
trait
:private
do
trait
:private
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment