summaryrefslogtreecommitdiff
path: root/spec/javascripts/vue_shared
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2018-01-19 09:38:34 +0000
committerPhil Hughes <me@iamphill.com>2018-01-19 09:38:34 +0000
commite79db43d2cf269beec700353e776e92b15ac9af9 (patch)
tree5e4a6ab9b4843c58288c670d5eabe7ff2f31fee1 /spec/javascripts/vue_shared
parentdd633dc48f00f779755370e3849691dc776b5055 (diff)
downloadgitlab-ce-e79db43d2cf269beec700353e776e92b15ac9af9.tar.gz
WebIDE: Fix Commit bugs
Diffstat (limited to 'spec/javascripts/vue_shared')
-rw-r--r--spec/javascripts/vue_shared/components/loading_icon_spec.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/javascripts/vue_shared/components/loading_icon_spec.js b/spec/javascripts/vue_shared/components/loading_icon_spec.js
index 1baf3537741..5cd3466f501 100644
--- a/spec/javascripts/vue_shared/components/loading_icon_spec.js
+++ b/spec/javascripts/vue_shared/components/loading_icon_spec.js
@@ -16,7 +16,8 @@ describe('Loading Icon Component', () => {
).toEqual('fa fa-spin fa-spinner fa-1x');
expect(component.$el.tagName).toEqual('DIV');
- expect(component.$el.classList.contains('text-center')).toEqual(true);
+ expect(component.$el.classList).toContain('text-center');
+ expect(component.$el.classList).toContain('loading-container');
});
it('should render accessibility attributes', () => {