From 905c1110b08f93a19661cf42a276c7ea90d0a0ff Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 22 Oct 2019 11:31:16 +0000 Subject: Add latest changes from gitlab-org/gitlab@12-4-stable-ee --- spec/controllers/groups/shared_projects_controller_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spec/controllers/groups/shared_projects_controller_spec.rb') diff --git a/spec/controllers/groups/shared_projects_controller_spec.rb b/spec/controllers/groups/shared_projects_controller_spec.rb index 9f6c558c931..a4b2efa7c43 100644 --- a/spec/controllers/groups/shared_projects_controller_spec.rb +++ b/spec/controllers/groups/shared_projects_controller_spec.rb @@ -17,9 +17,9 @@ describe Groups::SharedProjectsController do ).execute(group) end - set(:group) { create(:group) } - set(:user) { create(:user) } - set(:shared_project) do + let_it_be(:group) { create(:group) } + let_it_be(:user) { create(:user) } + let_it_be(:shared_project) do shared_project = create(:project, namespace: user.namespace) share_project(shared_project) -- cgit v1.2.1