diff options
author | Małgorzata Ksionek <meksionek@gmail.com> | 2019-02-12 13:29:47 +0100 |
---|---|---|
committer | Małgorzata Ksionek <meksionek@gmail.com> | 2019-02-20 11:08:13 +0100 |
commit | 211c4e5985bf40afe7cf2391c76a6cfde153fb49 (patch) | |
tree | f675af054959391d825b3ebd8d0af02767bf2557 /spec/controllers/groups | |
parent | 459276846372d8309220a5667cb4389dcfc66281 (diff) | |
download | gitlab-ce-211c4e5985bf40afe7cf2391c76a6cfde153fb49.tar.gz |
Change policy regarding group visibility
Diffstat (limited to 'spec/controllers/groups')
-rw-r--r-- | spec/controllers/groups/shared_projects_controller_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/controllers/groups/shared_projects_controller_spec.rb b/spec/controllers/groups/shared_projects_controller_spec.rb index dab7700cf64..b0c20fb5a90 100644 --- a/spec/controllers/groups/shared_projects_controller_spec.rb +++ b/spec/controllers/groups/shared_projects_controller_spec.rb @@ -6,6 +6,8 @@ describe Groups::SharedProjectsController do end def share_project(project) + group.add_developer(user) + Projects::GroupLinks::CreateService.new( project, user, |