diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-03-07 11:39:41 +0100 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-03-07 17:00:50 +0100 |
commit | cfa9d1ed6b870dbc635148219b42d73c382eb90a (patch) | |
tree | aa7eeedfa4af657c518093aa776ff54f3f1197e3 /spec/features | |
parent | 558e9cd92bab44a0b323132b2f2e6a3bb6dcc738 (diff) | |
download | gitlab-ce-cfa9d1ed6b870dbc635148219b42d73c382eb90a.tar.gz |
Only allow users that can merge to push to sourcebvl-allow-maintainer-to-push
We only allow users that can merge the merge request to push to the
fork.
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/merge_request/maintainer_edits_fork_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/merge_request/maintainer_edits_fork_spec.rb b/spec/features/merge_request/maintainer_edits_fork_spec.rb index c1f76202e60..a3323da1b1f 100644 --- a/spec/features/merge_request/maintainer_edits_fork_spec.rb +++ b/spec/features/merge_request/maintainer_edits_fork_spec.rb @@ -18,7 +18,7 @@ describe 'a maintainer edits files on a source-branch of an MR from a fork', :js end before do - target_project.add_developer(user) + target_project.add_master(user) sign_in(user) visit project_merge_request_path(target_project, merge_request) |