Commit a351fe68 authored by Jose Vargas's avatar Jose Vargas

Rename pipeline_actions component

parent 218571ef
...@@ -7,8 +7,8 @@ import { PIPELINES_TABLE } from '../../constants'; ...@@ -7,8 +7,8 @@ import { PIPELINES_TABLE } from '../../constants';
import eventHub from '../../event_hub'; import eventHub from '../../event_hub';
import PipelineTriggerer from './pipeline_triggerer.vue'; import PipelineTriggerer from './pipeline_triggerer.vue';
import PipelineUrl from './pipeline_url.vue'; import PipelineUrl from './pipeline_url.vue';
import PipelinesActionsComponent from './pipelines_actions.vue';
import PipelinesArtifactsComponent from './pipelines_artifacts.vue'; import PipelinesArtifactsComponent from './pipelines_artifacts.vue';
import PipelinesManualActionsComponent from './pipelines_manual_actions.vue';
import PipelineStage from './stage.vue'; import PipelineStage from './stage.vue';
import PipelinesTimeago from './time_ago.vue'; import PipelinesTimeago from './time_ago.vue';
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
GlModalDirective, GlModalDirective,
}, },
components: { components: {
PipelinesActionsComponent, PipelinesManualActionsComponent,
PipelinesArtifactsComponent, PipelinesArtifactsComponent,
CommitComponent, CommitComponent,
PipelineStage, PipelineStage,
...@@ -240,7 +240,7 @@ export default { ...@@ -240,7 +240,7 @@ export default {
class="table-section section-20 table-button-footer pipeline-actions" class="table-section section-20 table-button-footer pipeline-actions"
> >
<div class="btn-group table-action-buttons"> <div class="btn-group table-action-buttons">
<pipelines-actions-component v-if="actions.length > 0" :actions="actions" /> <pipelines-manual-actions-component v-if="actions.length > 0" :actions="actions" />
<pipelines-artifacts-component <pipelines-artifacts-component
v-if="pipeline.details.artifacts.length" v-if="pipeline.details.artifacts.length"
......
...@@ -5,7 +5,7 @@ import waitForPromises from 'helpers/wait_for_promises'; ...@@ -5,7 +5,7 @@ import waitForPromises from 'helpers/wait_for_promises';
import { TEST_HOST } from 'spec/test_constants'; import { TEST_HOST } from 'spec/test_constants';
import createFlash from '~/flash'; import createFlash from '~/flash';
import axios from '~/lib/utils/axios_utils'; import axios from '~/lib/utils/axios_utils';
import PipelinesActions from '~/pipelines/components/pipelines_list/pipelines_actions.vue'; import PipelinesManualActions from '~/pipelines/components/pipelines_list/pipelines_manual_actions.vue';
import GlCountdown from '~/vue_shared/components/gl_countdown.vue'; import GlCountdown from '~/vue_shared/components/gl_countdown.vue';
jest.mock('~/flash'); jest.mock('~/flash');
...@@ -15,7 +15,7 @@ describe('Pipelines Actions dropdown', () => { ...@@ -15,7 +15,7 @@ describe('Pipelines Actions dropdown', () => {
let mock; let mock;
const createComponent = (props, mountFn = shallowMount) => { const createComponent = (props, mountFn = shallowMount) => {
wrapper = mountFn(PipelinesActions, { wrapper = mountFn(PipelinesManualActions, {
propsData: { propsData: {
...props, ...props,
}, },
......
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