diff options
Diffstat (limited to 'spec/frontend/pipelines/components/pipeline_mini_graph/pipeline_stages_spec.js')
-rw-r--r-- | spec/frontend/pipelines/components/pipeline_mini_graph/pipeline_stages_spec.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/frontend/pipelines/components/pipeline_mini_graph/pipeline_stages_spec.js b/spec/frontend/pipelines/components/pipeline_mini_graph/pipeline_stages_spec.js index bfb780d5d39..c123f53886e 100644 --- a/spec/frontend/pipelines/components/pipeline_mini_graph/pipeline_stages_spec.js +++ b/spec/frontend/pipelines/components/pipeline_mini_graph/pipeline_stages_spec.js @@ -26,12 +26,6 @@ describe('Pipeline Stages', () => { expect(findPipelineStages()).toHaveLength(mockStages.length); }); - it('renders stages with a custom class', () => { - createComponent({ stagesClass: 'my-class' }); - - expect(wrapper.findAll('.my-class')).toHaveLength(mockStages.length); - }); - it('does not fail when stages are empty', () => { createComponent({ stages: [] }); @@ -39,15 +33,6 @@ describe('Pipeline Stages', () => { expect(findPipelineStages()).toHaveLength(0); }); - it('triggers events in "action request complete" in stages', () => { - createComponent(); - - findPipelineStagesAt(0).vm.$emit('pipelineActionRequestComplete'); - findPipelineStagesAt(1).vm.$emit('pipelineActionRequestComplete'); - - expect(wrapper.emitted('pipelineActionRequestComplete')).toHaveLength(2); - }); - it('update dropdown is false by default', () => { createComponent(); |