summaryrefslogtreecommitdiff
path: root/spec/javascripts/pipelines
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-01-16 10:45:04 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-01-16 11:20:42 +0000
commit225c1c1239c85583dd745b6e8965857673d2e114 (patch)
tree375d69b310fd70bbfa3b6235a6cb07f7c321681f /spec/javascripts/pipelines
parent9e70ff345fa68d700b77b5939d34870ee61cb131 (diff)
downloadgitlab-ce-225c1c1239c85583dd745b6e8965857673d2e114.tar.gz
Replace pipeline's action icons with svg
Diffstat (limited to 'spec/javascripts/pipelines')
-rw-r--r--spec/javascripts/pipelines/async_button_spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/pipelines/async_button_spec.js b/spec/javascripts/pipelines/async_button_spec.js
index 48620898357..d010d897642 100644
--- a/spec/javascripts/pipelines/async_button_spec.js
+++ b/spec/javascripts/pipelines/async_button_spec.js
@@ -13,7 +13,7 @@ describe('Pipelines Async Button', () => {
propsData: {
endpoint: '/foo',
title: 'Foo',
- icon: 'fa fa-foo',
+ icon: 'repeat',
cssClass: 'bar',
},
}).$mount();
@@ -23,8 +23,8 @@ describe('Pipelines Async Button', () => {
expect(component.$el.tagName).toEqual('BUTTON');
});
- it('should render the provided icon', () => {
- expect(component.$el.querySelector('i').getAttribute('class')).toContain('fa fa-foo');
+ it('should render svg icon', () => {
+ expect(component.$el.querySelector('svg')).not.toBeNull();
});
it('should render the provided title', () => {