diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2018-01-22 15:57:32 -0600 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2018-01-30 09:24:57 -0600 |
commit | bfc2b8a3d2c06c80126365348ce75b3985185e83 (patch) | |
tree | 6c68670ea0a9da973589d722be8b26862e5bed16 /spec | |
parent | 6042454600d79f1d6fb8e216c78b3e8b619a7a3e (diff) | |
download | gitlab-ce-bfc2b8a3d2c06c80126365348ce75b3985185e83.tar.gz |
Added realtime prop and corrected specs
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/commit/commit_pipeline_status_component_spec.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/spec/javascripts/commit/commit_pipeline_status_component_spec.js b/spec/javascripts/commit/commit_pipeline_status_component_spec.js index f6fca9e97e5..2a52097e0d5 100644 --- a/spec/javascripts/commit/commit_pipeline_status_component_spec.js +++ b/spec/javascripts/commit/commit_pipeline_status_component_spec.js @@ -1,7 +1,7 @@ import Vue from 'vue'; import MockAdapter from 'axios-mock-adapter'; import axios from '~/lib/utils/axios_utils'; -import commitPipelineStatus from '~/pages/projects/tree/components/commit_pipeline_status_component.vue'; +import commitPipelineStatus from '~/projects/tree/components/commit_pipeline_status_component.vue'; import mountComponent from '../helpers/vue_mount_component_helper'; describe('Commit pipeline status component', () => { @@ -25,7 +25,12 @@ describe('Commit pipeline status component', () => { pipelines: [ { details: { - status: mockCiStatus, + stages: [ + { + status: mockCiStatus, + title: 'Commit: canceled', + }, + ], }, }, ], |