Commit 3ef0f2a0 authored by Valery Sizov's avatar Valery Sizov

CE->EE conflicts[ci skip]

parent 08d457f1
...@@ -31,10 +31,7 @@ scope(constraints: { username: Gitlab::PathRegex.root_namespace_route_regex }) d ...@@ -31,10 +31,7 @@ scope(constraints: { username: Gitlab::PathRegex.root_namespace_route_regex }) d
get :contributed, as: :contributed_projects get :contributed, as: :contributed_projects
get :snippets get :snippets
get :exists get :exists
<<<<<<< HEAD
get :pipelines_quota get :pipelines_quota
=======
>>>>>>> bfb5107ae720232a15060ee55feba213ee7dd097
get '/', to: redirect('%{username}'), as: nil get '/', to: redirect('%{username}'), as: nil
end end
......
...@@ -1171,7 +1171,6 @@ describe API::MergeRequests do ...@@ -1171,7 +1171,6 @@ describe API::MergeRequests do
end end
end end
<<<<<<< HEAD
describe 'GET :id/merge_requests/:merge_request_iid/approvals' do describe 'GET :id/merge_requests/:merge_request_iid/approvals' do
it 'retrieves the approval status' do it 'retrieves the approval status' do
approver = create :user approver = create :user
...@@ -1288,7 +1287,9 @@ describe API::MergeRequests do ...@@ -1288,7 +1287,9 @@ describe API::MergeRequests do
expect(json_response['user_has_approved']).to be false expect(json_response['user_has_approved']).to be false
expect(json_response['user_can_approve']).to be true expect(json_response['user_can_approve']).to be true
end end
======= end
end
describe 'POST :id/merge_requests/:merge_request_iid/cancel_merge_when_pipeline_succeeds' do describe 'POST :id/merge_requests/:merge_request_iid/cancel_merge_when_pipeline_succeeds' do
before do before do
::MergeRequests::MergeWhenPipelineSucceedsService.new(merge_request.target_project, user).execute(merge_request) ::MergeRequests::MergeWhenPipelineSucceedsService.new(merge_request.target_project, user).execute(merge_request)
...@@ -1310,7 +1311,6 @@ describe API::MergeRequests do ...@@ -1310,7 +1311,6 @@ describe API::MergeRequests do
post api("/projects/#{project.id}/merge_requests/#{merge_request.id}/merge_when_pipeline_succeeds", user) post api("/projects/#{project.id}/merge_requests/#{merge_request.id}/merge_when_pipeline_succeeds", user)
expect(response).to have_gitlab_http_status(404) expect(response).to have_gitlab_http_status(404)
>>>>>>> bfb5107ae720232a15060ee55feba213ee7dd097
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment