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
43c4b404
Commit
43c4b404
authored
Nov 19, 2020
by
Peter Leitzen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cop FactoryBot/InlineAssociation for groups
parent
9e372d91
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-1
ee/spec/factories/groups.rb
ee/spec/factories/groups.rb
+1
-1
No files found.
.rubocop_manual_todo.yml
View file @
43c4b404
...
@@ -2,7 +2,6 @@ FactoryBot/InlineAssociation:
...
@@ -2,7 +2,6 @@ FactoryBot/InlineAssociation:
Exclude
:
Exclude
:
-
'
ee/spec/factories/analytics/cycle_analytics/group_stages.rb'
-
'
ee/spec/factories/analytics/cycle_analytics/group_stages.rb'
-
'
ee/spec/factories/geo/event_log.rb'
-
'
ee/spec/factories/geo/event_log.rb'
-
'
ee/spec/factories/groups.rb'
-
'
ee/spec/factories/merge_request_blocks.rb'
-
'
ee/spec/factories/merge_request_blocks.rb'
-
'
ee/spec/factories/vulnerabilities/feedback.rb'
-
'
ee/spec/factories/vulnerabilities/feedback.rb'
-
'
spec/factories/atlassian_identities.rb'
-
'
spec/factories/atlassian_identities.rb'
...
...
ee/spec/factories/groups.rb
View file @
43c4b404
...
@@ -50,7 +50,7 @@ FactoryBot.define do
...
@@ -50,7 +50,7 @@ FactoryBot.define do
factory
:group_with_deletion_schedule
,
parent: :group
do
factory
:group_with_deletion_schedule
,
parent: :group
do
transient
do
transient
do
deleting_user
{
create
(
:user
)
}
deleting_user
{
association
(
:user
)
}
marked_for_deletion_on
{
nil
}
marked_for_deletion_on
{
nil
}
end
end
...
...
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