Commit 09484066 authored by Nick Thomas's avatar Nick Thomas

Resolve conflicts

parent e2e1cac2
...@@ -221,27 +221,6 @@ export default { ...@@ -221,27 +221,6 @@ export default {
<a :href="helpPagePath"> <a :href="helpPagePath">
Read more about environments Read more about environments
</a> </a>
<<<<<<< HEAD:app/assets/javascripts/environments/components/environment.js
</div>
<div class="table-holder"
v-if="!isLoading && state.environments.length > 0">
<environment-table
:environments="state.environments"
:can-create-deployment="canCreateDeploymentParsed"
:can-read-environment="canReadEnvironmentParsed"
:toggleDeployBoard="toggleDeployBoard"
:store="store"
:service="service"
:is-loading-folder-content="isLoadingFolderContent" />
</div>
<table-pagination v-if="state.paginationInformation && state.paginationInformation.totalPages > 1"
:change="changePage"
:pageInfo="state.paginationInformation">
</table-pagination>
=======
</p> </p>
<a <a
...@@ -250,7 +229,6 @@ export default { ...@@ -250,7 +229,6 @@ export default {
class="btn btn-create js-new-environment-button"> class="btn btn-create js-new-environment-button">
New Environment New Environment
</a> </a>
>>>>>>> ce/master:app/assets/javascripts/environments/components/environment.vue
</div> </div>
<div <div
...@@ -261,6 +239,8 @@ export default { ...@@ -261,6 +239,8 @@ export default {
:environments="state.environments" :environments="state.environments"
:can-create-deployment="canCreateDeploymentParsed" :can-create-deployment="canCreateDeploymentParsed"
:can-read-environment="canReadEnvironmentParsed" :can-read-environment="canReadEnvironmentParsed"
:toggleDeployBoard="toggleDeployBoard"
:store="store"
:service="service" :service="service"
:is-loading-folder-content="isLoadingFolderContent" /> :is-loading-folder-content="isLoadingFolderContent" />
</div> </div>
......
...@@ -177,7 +177,6 @@ export default { ...@@ -177,7 +177,6 @@ export default {
class="table-holder" class="table-holder"
v-if="!isLoading && state.environments.length > 0"> v-if="!isLoading && state.environments.length > 0">
<<<<<<< HEAD:app/assets/javascripts/environments/folder/environments_folder_view.js
<environment-table <environment-table
:environments="state.environments" :environments="state.environments"
:can-create-deployment="canCreateDeploymentParsed" :can-create-deployment="canCreateDeploymentParsed"
...@@ -185,13 +184,6 @@ export default { ...@@ -185,13 +184,6 @@ export default {
:toggleDeployBoard="toggleDeployBoard" :toggleDeployBoard="toggleDeployBoard"
:store="store" :store="store"
:service="service"/> :service="service"/>
=======
<environment-table
:environments="state.environments"
:can-create-deployment="canCreateDeploymentParsed"
:can-read-environment="canReadEnvironmentParsed"
:service="service"/>
>>>>>>> ce/master:app/assets/javascripts/environments/folder/environments_folder_view.vue
<table-pagination <table-pagination
v-if="state.paginationInformation && state.paginationInformation.totalPages > 1" v-if="state.paginationInformation && state.paginationInformation.totalPages > 1"
......
...@@ -5,10 +5,7 @@ class ProjectPolicy < BasePolicy ...@@ -5,10 +5,7 @@ class ProjectPolicy < BasePolicy
team_access!(user) team_access!(user)
owner_access! if user.admin? || owner? owner_access! if user.admin? || owner?
<<<<<<< HEAD
auditor_access! if user.auditor? auditor_access! if user.auditor?
=======
>>>>>>> ce/master
team_member_owner_access! if owner? team_member_owner_access! if owner?
if project.public? || (project.internal? && !user.external?) if project.public? || (project.internal? && !user.external?)
......
This diff is collapsed.
...@@ -420,7 +420,6 @@ describe ProjectsController do ...@@ -420,7 +420,6 @@ describe ProjectsController do
end end
end end
<<<<<<< HEAD
describe 'GET edit' do describe 'GET edit' do
it 'does not allow an auditor user to access the page' do it 'does not allow an auditor user to access the page' do
sign_in(create(:user, :auditor)) sign_in(create(:user, :auditor))
...@@ -440,7 +439,9 @@ describe ProjectsController do ...@@ -440,7 +439,9 @@ describe ProjectsController do
id: project.path id: project.path
expect(response).to have_http_status(200) expect(response).to have_http_status(200)
======= end
end
describe 'POST #preview_markdown' do describe 'POST #preview_markdown' do
it 'renders json in a correct format' do it 'renders json in a correct format' do
sign_in(user) sign_in(user)
...@@ -448,7 +449,6 @@ describe ProjectsController do ...@@ -448,7 +449,6 @@ describe ProjectsController do
post :preview_markdown, namespace_id: public_project.namespace, id: public_project, text: '*Markdown* text' post :preview_markdown, namespace_id: public_project.namespace, id: public_project, text: '*Markdown* text'
expect(JSON.parse(response.body).keys).to match_array(%w(body references)) expect(JSON.parse(response.body).keys).to match_array(%w(body references))
>>>>>>> ce/master
end end
end end
end end
...@@ -64,7 +64,6 @@ feature 'Project milestone', :feature do ...@@ -64,7 +64,6 @@ feature 'Project milestone', :feature do
end end
end end
<<<<<<< HEAD
# EE-only # EE-only
context 'milestone summary' do context 'milestone summary' do
it 'shows the total weight when sum is greater than zero' do it 'shows the total weight when sum is greater than zero' do
...@@ -94,7 +93,7 @@ feature 'Project milestone', :feature do ...@@ -94,7 +93,7 @@ feature 'Project milestone', :feature do
def milestone_path def milestone_path
namespace_project_milestone_path(project.namespace, project, milestone) namespace_project_milestone_path(project.namespace, project, milestone)
end end
=======
context 'when project has an issue' do context 'when project has an issue' do
before do before do
create(:issue, project: project, milestone: milestone) create(:issue, project: project, milestone: milestone)
...@@ -113,10 +112,9 @@ feature 'Project milestone', :feature do ...@@ -113,10 +112,9 @@ feature 'Project milestone', :feature do
aggregate_failures 'MR and issue blocks' do aggregate_failures 'MR and issue blocks' do
expect(blocks[3]).to have_content 1 expect(blocks[3]).to have_content 1
expect(blocks[4]).to have_content 0 expect(blocks[5]).to have_content 0
end end
end end
end end
end end
>>>>>>> ce/master
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