summaryrefslogtreecommitdiff
path: root/spec/services/groups
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-06 15:06:23 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-06 15:06:23 +0000
commit5277f8e69e935eabd3bf8c5e7833471b5bfad1d9 (patch)
tree405b231961d09fa399e7c4311235ee67a5da6727 /spec/services/groups
parent4dcee85bb2384604153165f1296fb86d609c71cc (diff)
downloadgitlab-ce-5277f8e69e935eabd3bf8c5e7833471b5bfad1d9.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/groups')
-rw-r--r--spec/services/groups/group_links/create_service_spec.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/spec/services/groups/group_links/create_service_spec.rb b/spec/services/groups/group_links/create_service_spec.rb
index ca005536e0d..36faa69577e 100644
--- a/spec/services/groups/group_links/create_service_spec.rb
+++ b/spec/services/groups/group_links/create_service_spec.rb
@@ -7,17 +7,17 @@ describe Groups::GroupLinks::CreateService, '#execute' do
let(:group_user) { create(:user) }
let(:child_group_user) { create(:user) }
- set(:group_parent) { create(:group, :private) }
- set(:group) { create(:group, :private, parent: group_parent) }
- set(:group_child) { create(:group, :private, parent: group) }
+ let_it_be(:group_parent) { create(:group, :private) }
+ let_it_be(:group) { create(:group, :private, parent: group_parent) }
+ let_it_be(:group_child) { create(:group, :private, parent: group) }
- set(:shared_group_parent) { create(:group, :private) }
- set(:shared_group) { create(:group, :private, parent: shared_group_parent) }
- set(:shared_group_child) { create(:group, :private, parent: shared_group) }
+ let_it_be(:shared_group_parent) { create(:group, :private) }
+ let_it_be(:shared_group) { create(:group, :private, parent: shared_group_parent) }
+ let_it_be(:shared_group_child) { create(:group, :private, parent: shared_group) }
- set(:project_parent) { create(:project, group: shared_group_parent) }
- set(:project) { create(:project, group: shared_group) }
- set(:project_child) { create(:project, group: shared_group_child) }
+ let_it_be(:project_parent) { create(:project, group: shared_group_parent) }
+ let_it_be(:project) { create(:project, group: shared_group) }
+ let_it_be(:project_child) { create(:project, group: shared_group_child) }
let(:opts) do
{