Commit 3368e797 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'pl-rubocop-inline-association-groups' into 'master'

Fix cop FactoryBot/InlineAssociation for groups

See merge request gitlab-org/gitlab!48166
parents 28c6721a 43c4b404
......@@ -2,7 +2,6 @@ FactoryBot/InlineAssociation:
Exclude:
- 'ee/spec/factories/analytics/cycle_analytics/group_stages.rb'
- 'ee/spec/factories/geo/event_log.rb'
- 'ee/spec/factories/groups.rb'
- 'ee/spec/factories/merge_request_blocks.rb'
- 'ee/spec/factories/vulnerabilities/feedback.rb'
- 'spec/factories/atlassian_identities.rb'
......
......@@ -50,7 +50,7 @@ FactoryBot.define do
factory :group_with_deletion_schedule, parent: :group do
transient do
deleting_user { create(:user) }
deleting_user { association(:user) }
marked_for_deletion_on { nil }
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