Changes after review

This commit is contained in:
Filipa Lacerda 2017-10-23 16:36:02 +03:00
parent 4ad8c9997d
commit c2d943a7ea
No known key found for this signature in database
GPG Key ID: 9CA3FDE4D1E2F1C8
5 changed files with 7 additions and 3 deletions

View File

@ -23,7 +23,7 @@
},
viewType: {
type: String,
required: false,
required: true,
},
},
components: {

View File

@ -31,7 +31,7 @@ export default {
},
viewType: {
type: String,
required: false,
required: true,
},
},
components: {

View File

@ -54,7 +54,7 @@
:href="status.details_path"
:class="cssClass"
v-tooltip
:title="status.text">
:title="!showText ? status.text : ''">
<ci-icon :status="status" />
<template v-if="showText">

View File

@ -10,6 +10,7 @@ describe('Pipelines Table Row', () => {
propsData: {
pipeline,
autoDevopsHelpPath: 'foo',
viewType: 'root',
},
}).$mount();
};

View File

@ -23,6 +23,7 @@ describe('Pipelines Table', () => {
propsData: {
pipelines: [],
autoDevopsHelpPath: 'foo',
viewType: 'root',
},
}).$mount();
});
@ -49,6 +50,7 @@ describe('Pipelines Table', () => {
propsData: {
pipelines: [],
autoDevopsHelpPath: 'foo',
viewType: 'root',
},
}).$mount();
expect(component.$el.querySelectorAll('.commit.gl-responsive-table-row').length).toEqual(0);
@ -61,6 +63,7 @@ describe('Pipelines Table', () => {
propsData: {
pipelines: [pipeline],
autoDevopsHelpPath: 'foo',
viewType: 'root',
},
}).$mount();