Commit 04c02b85 authored by Valery Sizov's avatar Valery Sizov

Resolve another part of conflicts

parent 2a9bdcac
...@@ -29,11 +29,7 @@ describe 'Project snippets', :js, feature: true do ...@@ -29,11 +29,7 @@ describe 'Project snippets', :js, feature: true do
context 'when submitting a note' do context 'when submitting a note' do
before do before do
<<<<<<< HEAD
login_as :admin
=======
gitlab_sign_in :admin gitlab_sign_in :admin
>>>>>>> bf57a7e80c44080dc7ec0fd774148afdae29cc31
visit namespace_project_snippet_path(project.namespace, project, snippets[0]) visit namespace_project_snippet_path(project.namespace, project, snippets[0])
end end
......
...@@ -5,12 +5,6 @@ feature 'Projects > Wiki > User updates wiki page', feature: true do ...@@ -5,12 +5,6 @@ feature 'Projects > Wiki > User updates wiki page', feature: true do
background do background do
project.team << [user, :master] project.team << [user, :master]
<<<<<<< HEAD
gitlab_sign_in(user)
visit namespace_project_path(project.namespace, project)
=======
>>>>>>> bf57a7e80c44080dc7ec0fd774148afdae29cc31
WikiPages::CreateService.new(project, user, title: 'home', content: 'Home page').execute WikiPages::CreateService.new(project, user, title: 'home', content: 'Home page').execute
gitlab_sign_in(user) gitlab_sign_in(user)
......
...@@ -6,7 +6,6 @@ feature 'Projected Tags', feature: true, js: true do ...@@ -6,7 +6,6 @@ feature 'Projected Tags', feature: true, js: true do
before do before do
gitlab_sign_in(user) gitlab_sign_in(user)
<<<<<<< HEAD
end end
def set_allowed_to(operation, option = 'Masters', form: '.new-protected-tag') def set_allowed_to(operation, option = 'Masters', form: '.new-protected-tag')
...@@ -18,8 +17,6 @@ feature 'Projected Tags', feature: true, js: true do ...@@ -18,8 +17,6 @@ feature 'Projected Tags', feature: true, js: true do
find(".js-allowed-to-#{operation}").click # needed to submit form in some cases find(".js-allowed-to-#{operation}").click # needed to submit form in some cases
end end
=======
>>>>>>> bf57a7e80c44080dc7ec0fd774148afdae29cc31
end end
def set_protected_tag_name(tag_name) def set_protected_tag_name(tag_name)
......
...@@ -7,10 +7,7 @@ feature 'Master creates tag', feature: true do ...@@ -7,10 +7,7 @@ feature 'Master creates tag', feature: true do
before do before do
project.team << [user, :master] project.team << [user, :master]
gitlab_sign_in(user) gitlab_sign_in(user)
<<<<<<< HEAD
visit namespace_project_tags_path(project.namespace, project) visit namespace_project_tags_path(project.namespace, project)
=======
>>>>>>> bf57a7e80c44080dc7ec0fd774148afdae29cc31
end end
context 'from tag list' do context 'from tag list' do
......
...@@ -7,11 +7,7 @@ feature 'Triggers', feature: true, js: true do ...@@ -7,11 +7,7 @@ feature 'Triggers', feature: true, js: true do
let(:guest_user) { create(:user) } let(:guest_user) { create(:user) }
before do before do
<<<<<<< HEAD
gitlab_sign_in(user) gitlab_sign_in(user)
=======
sign_in(user)
>>>>>>> bf57a7e80c44080dc7ec0fd774148afdae29cc31
@project = create(:empty_project) @project = create(:empty_project)
@project.team << [user, :master] @project.team << [user, :master]
......
...@@ -8,10 +8,6 @@ describe Gitlab::GitAccess, lib: true do ...@@ -8,10 +8,6 @@ describe Gitlab::GitAccess, lib: true do
let(:user) { create(:user) } let(:user) { create(:user) }
let(:actor) { user } let(:actor) { user }
let(:protocol) { 'ssh' } let(:protocol) { 'ssh' }
<<<<<<< HEAD
=======
>>>>>>> bf57a7e80c44080dc7ec0fd774148afdae29cc31
let(:redirected_path) { nil } let(:redirected_path) { nil }
let(:authentication_abilities) do let(:authentication_abilities) do
[ [
......
...@@ -2,14 +2,9 @@ require 'spec_helper' ...@@ -2,14 +2,9 @@ require 'spec_helper'
describe Gitlab::GitAccessWiki, lib: true do describe Gitlab::GitAccessWiki, lib: true do
let(:access) { Gitlab::GitAccessWiki.new(user, project, 'web', authentication_abilities: authentication_abilities, redirected_path: redirected_path) } let(:access) { Gitlab::GitAccessWiki.new(user, project, 'web', authentication_abilities: authentication_abilities, redirected_path: redirected_path) }
<<<<<<< HEAD
let!(:project) { create(:project, :repository) } let!(:project) { create(:project, :repository) }
let(:user) { create(:user) } let(:user) { create(:user) }
let(:changes) { ['6f6d7e7ed 570e7b2ab refs/heads/master'] } let(:changes) { ['6f6d7e7ed 570e7b2ab refs/heads/master'] }
=======
let(:project) { create(:project, :repository) }
let(:user) { create(:user) }
>>>>>>> bf57a7e80c44080dc7ec0fd774148afdae29cc31
let(:redirected_path) { nil } let(:redirected_path) { nil }
let(:authentication_abilities) do let(:authentication_abilities) do
[ [
......
...@@ -1980,7 +1980,6 @@ describe MergeRequest, models: true do ...@@ -1980,7 +1980,6 @@ describe MergeRequest, models: true do
it 'is mergeable' do it 'is mergeable' do
expect(merge_request.mergeable_with_quick_action?(developer, last_diff_sha: mr_sha)).to be_truthy expect(merge_request.mergeable_with_quick_action?(developer, last_diff_sha: mr_sha)).to be_truthy
<<<<<<< HEAD
end end
end end
...@@ -1997,8 +1996,6 @@ describe MergeRequest, models: true do ...@@ -1997,8 +1996,6 @@ describe MergeRequest, models: true do
merge_request.approvals.create(user: user) merge_request.approvals.create(user: user)
expect(merge_request.mergeable_with_quick_action?(developer, last_diff_sha: mr_sha)).to be_truthy expect(merge_request.mergeable_with_quick_action?(developer, last_diff_sha: mr_sha)).to be_truthy
=======
>>>>>>> bf57a7e80c44080dc7ec0fd774148afdae29cc31
end end
end end
end end
......
...@@ -335,13 +335,9 @@ describe API::MergeRequests do ...@@ -335,13 +335,9 @@ describe API::MergeRequests do
target_branch: 'master', target_branch: 'master',
author: user, author: user,
labels: 'label, label2', labels: 'label, label2',
<<<<<<< HEAD
milestone_id: milestone.id, milestone_id: milestone.id,
remove_source_branch: true, remove_source_branch: true,
squash: true squash: true
=======
milestone_id: milestone.id
>>>>>>> bf57a7e80c44080dc7ec0fd774148afdae29cc31
expect(response).to have_http_status(201) expect(response).to have_http_status(201)
expect(json_response['title']).to eq('Test merge_request') expect(json_response['title']).to eq('Test merge_request')
......
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