summaryrefslogtreecommitdiff
path: root/spec/factories/group_group_links.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/group_group_links.rb')
-rw-r--r--spec/factories/group_group_links.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/group_group_links.rb b/spec/factories/group_group_links.rb
index 6f98886faff..2a582d8525b 100644
--- a/spec/factories/group_group_links.rb
+++ b/spec/factories/group_group_links.rb
@@ -2,8 +2,8 @@
FactoryBot.define do
factory :group_group_link do
- shared_group { create(:group) }
- shared_with_group { create(:group) }
+ shared_group { association(:group) }
+ shared_with_group { association(:group) }
group_access { Gitlab::Access::DEVELOPER }
trait(:guest) { group_access { Gitlab::Access::GUEST } }