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/lib/gitlab/project_authorizations_spec.rb | |
parent | 4dcee85bb2384604153165f1296fb86d609c71cc (diff) | |
download | gitlab-ce-5277f8e69e935eabd3bf8c5e7833471b5bfad1d9.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/project_authorizations_spec.rb')
-rw-r--r-- | spec/lib/gitlab/project_authorizations_spec.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/spec/lib/gitlab/project_authorizations_spec.rb b/spec/lib/gitlab/project_authorizations_spec.rb index 006daa29ea1..6e5c36172e2 100644 --- a/spec/lib/gitlab/project_authorizations_spec.rb +++ b/spec/lib/gitlab/project_authorizations_spec.rb @@ -77,17 +77,17 @@ describe Gitlab::ProjectAuthorizations 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) } before do group_parent.add_owner(parent_group_user) |