diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-09-20 17:41:11 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-10-07 11:46:23 +0200 |
commit | 70716a1292ca5910908ba37a9d113c8b5a221bb7 (patch) | |
tree | ebff7a1289e85444170669761fcd2233a5757d54 /spec/requests/api/v3 | |
parent | d328007214786c7137c31d2c73e9ee76b025e6ed (diff) | |
download | gitlab-ce-70716a1292ca5910908ba37a9d113c8b5a221bb7.tar.gz |
Allow creating merge requests across forks of a project
Diffstat (limited to 'spec/requests/api/v3')
-rw-r--r-- | spec/requests/api/v3/merge_requests_spec.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/requests/api/v3/merge_requests_spec.rb b/spec/requests/api/v3/merge_requests_spec.rb index 86f38dd4ec1..acd53fbff66 100644 --- a/spec/requests/api/v3/merge_requests_spec.rb +++ b/spec/requests/api/v3/merge_requests_spec.rb @@ -372,16 +372,6 @@ describe API::MergeRequests do end context 'when target_branch is specified' do - it 'returns 422 if not a forked project' do - post v3_api("/projects/#{project.id}/merge_requests", user), - title: 'Test merge_request', - target_branch: 'master', - source_branch: 'markdown', - author: user, - target_project_id: fork_project.id - expect(response).to have_gitlab_http_status(422) - end - it 'returns 422 if targeting a different fork' do post v3_api("/projects/#{fork_project.id}/merge_requests", user2), title: 'Test merge_request', |