diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-05-12 14:28:26 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-12 14:28:26 +0300 |
commit | a1348a5d2932784b29b0b9fb18e519f18c085e62 (patch) | |
tree | 4dd778c78e4ac3ea1d1803de430ce29407cd7937 /spec/javascripts/vue_mr_widget/components/mr_widget_deployment_spec.js | |
parent | aa6f44328ed22ebab51440a5a04f6b62d6471b78 (diff) |
Uniform CI status components in vue
Diffstat (limited to 'spec/javascripts/vue_mr_widget/components/mr_widget_deployment_spec.js')
-rw-r--r-- | spec/javascripts/vue_mr_widget/components/mr_widget_deployment_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/vue_mr_widget/components/mr_widget_deployment_spec.js b/spec/javascripts/vue_mr_widget/components/mr_widget_deployment_spec.js index 2f971b39d16..d4b200875df 100644 --- a/spec/javascripts/vue_mr_widget/components/mr_widget_deployment_spec.js +++ b/spec/javascripts/vue_mr_widget/components/mr_widget_deployment_spec.js @@ -1,7 +1,7 @@ import Vue from 'vue'; import deploymentComponent from '~/vue_merge_request_widget/components/mr_widget_deployment'; import MRWidgetService from '~/vue_merge_request_widget/services/mr_widget_service'; -import { statusClassToSvgMap } from '~/vue_shared/pipeline_svg_icons'; +import { statusIconEntityMap } from '~/vue_shared/ci_status_icons'; const deploymentMockData = [ { @@ -46,7 +46,7 @@ describe('MRWidgetDeployment', () => { describe('svg', () => { it('should have the proper SVG icon', () => { const vm = createComponent(deploymentMockData); - expect(vm.svg).toEqual(statusClassToSvgMap.icon_status_success); + expect(vm.svg).toEqual(statusIconEntityMap.icon_status_success); }); }); }); |