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
2d032df4
Commit
2d032df4
authored
Mar 06, 2021
by
Peter Leitzen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cop FactoryBot/InlineAssociation offenses for CA group stages
parent
8ef955b1
Changes
2
Hide 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/analytics/cycle_analytics/group_stages.rb
ee/spec/factories/analytics/cycle_analytics/group_stages.rb
+1
-1
No files found.
.rubocop_manual_todo.yml
View file @
2d032df4
...
...
@@ -44,7 +44,6 @@ Graphql/Descriptions:
# WIP See https://gitlab.com/gitlab-org/gitlab/-/issues/267606
FactoryBot/InlineAssociation
:
Exclude
:
-
'
ee/spec/factories/analytics/cycle_analytics/group_stages.rb'
-
'
ee/spec/factories/geo/event_log.rb'
-
'
ee/spec/factories/merge_request_blocks.rb'
-
'
ee/spec/factories/vulnerabilities/feedback.rb'
...
...
ee/spec/factories/analytics/cycle_analytics/group_stages.rb
View file @
2d032df4
...
...
@@ -7,6 +7,6 @@ FactoryBot.define do
end_event_identifier
{
Gitlab
::
Analytics
::
CycleAnalytics
::
StageEvents
::
MergeRequestMerged
.
identifier
}
group
value_stream
{
FactoryBot
.
build
(
:cycle_analytics_group_value_stream
,
group:
group
)
}
value_stream
{
association
(
:cycle_analytics_group_value_stream
,
group:
group
)
}
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