diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-06 15:06:23 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-06 15:06:23 +0000 |
commit | 5277f8e69e935eabd3bf8c5e7833471b5bfad1d9 (patch) | |
tree | 405b231961d09fa399e7c4311235ee67a5da6727 /spec/services/groups | |
parent | 4dcee85bb2384604153165f1296fb86d609c71cc (diff) | |
download | gitlab-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.rb | 18 |
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 { |