Commit 2d032df4 authored by Peter Leitzen's avatar Peter Leitzen

Fix cop FactoryBot/InlineAssociation offenses for CA group stages

parent 8ef955b1
......@@ -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'
......
......@@ -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
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