diff options
author | Fatih Acet <acetfatih@gmail.com> | 2017-05-10 01:30:58 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2017-05-10 01:30:58 +0300 |
commit | b2fc6326f2b893c67c2ed33ebbbfe113ecef1641 (patch) | |
tree | 3fa191fb7437b9cfe4e9ff26c266adf7b7d0c76b /spec/javascripts/vue_shared | |
parent | a353c96661e29f0e41937db8d937bccf705fffd2 (diff) | |
parent | 0c3abe3ef92fe4d982b780397e8ace37a51aca45 (diff) |
Merge branch '31053-pipeline-ux' into 'master'
Adds left connector class to the rendered graph
Closes #31053
See merge request !11179
Diffstat (limited to 'spec/javascripts/vue_shared')
-rw-r--r-- | spec/javascripts/vue_shared/ci_action_icons_spec.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/javascripts/vue_shared/ci_action_icons_spec.js b/spec/javascripts/vue_shared/ci_action_icons_spec.js index 2e89a07e76e..3d53a5ab24d 100644 --- a/spec/javascripts/vue_shared/ci_action_icons_spec.js +++ b/spec/javascripts/vue_shared/ci_action_icons_spec.js @@ -2,6 +2,7 @@ import getActionIcon from '~/vue_shared/ci_action_icons'; import cancelSVG from 'icons/_icon_action_cancel.svg'; import retrySVG from 'icons/_icon_action_retry.svg'; import playSVG from 'icons/_icon_action_play.svg'; +import stopSVG from 'icons/_icon_action_stop.svg'; describe('getActionIcon', () => { it('should return an empty string', () => { @@ -19,4 +20,8 @@ describe('getActionIcon', () => { it('should return play svg', () => { expect(getActionIcon('icon_action_play')).toEqual(playSVG); }); + + it('should render stop svg', () => { + expect(getActionIcon('icon_action_stop')).toEqual(stopSVG); + }); }); |