BigW Consortium Gitlab

[ci skip] Remove lock from ce

parent 0786b87e
......@@ -51,7 +51,6 @@ export default RepoFileButtons;
<a :href="blameFileURL" class="btn btn-default blame">Blame</a>
<a :href="historyFileURL" class="btn btn-default history">History</a>
<a href="#" class="btn btn-default permalink">Permalink</a>
<a href="#" class="btn btn-default lock">Lock</a>
</div>
<a href="#" v-if="canPreview" @click.prevent="rawPreviewToggle" class="btn btn-default preview">{{activeFileLabel}}</a>
......
......@@ -4,7 +4,7 @@ import RepoStore from '~/repo/repo_store';
import RepoHelper from '~/repo/repo_helper';
import Api from '~/api';
fdescribe('RepoCommitSection', () => {
describe('RepoCommitSection', () => {
const branch = 'master';
const openedFiles = [{
id: 0,
......
......@@ -9,7 +9,7 @@ describe('RepoFileButtons', () => {
return new RepoFileButtons().$mount();
}
it('renders Raw, Blame, History, Permalink, Lock and Preview toggle', () => {
it('renders Raw, Blame, History, Permalink and Preview toggle', () => {
const activeFile = {
extension: 'md',
url: 'url',
......@@ -34,7 +34,6 @@ describe('RepoFileButtons', () => {
expect(history.href).toMatch(`/${activeFile.url}`);
expect(history.textContent).toEqual('History');
expect(vm.$el.querySelector('.permalink').textContent).toEqual('Permalink');
expect(vm.$el.querySelector('.lock').textContent).toEqual('Lock');
expect(vm.$el.querySelector('.preview').textContent).toEqual(activeFileLabel);
});
......
import Vue from 'vue';
import repoFileOptions from '~/repo/repo_file_options.vue';
describe('RepoFileOptions', () => {
fdescribe('RepoFileOptions', () => {
const projectName = 'projectName';
function createComponent(propsData) {
......
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