summaryrefslogtreecommitdiff
path: root/spec/javascripts
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-11-28 18:36:49 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-11-28 19:14:44 +0000
commite89fad5246c6ad2f64c43dc483f00f7b00fd4f45 (patch)
treeeb41413ace19e7ecb9df35e70c34cf8c35bf2848 /spec/javascripts
parent9e0ce26c4c654e1d62f3145b5085719fd68c0db7 (diff)
downloadgitlab-ce-e89fad5246c6ad2f64c43dc483f00f7b00fd4f45.tar.gz
Fix broken specs
Don't add disabled class to loading button
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/clusters/clusters_index_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/clusters/clusters_index_spec.js b/spec/javascripts/clusters/clusters_index_spec.js
index 3142d384a38..0a8b63ed5b4 100644
--- a/spec/javascripts/clusters/clusters_index_spec.js
+++ b/spec/javascripts/clusters/clusters_index_spec.js
@@ -20,7 +20,7 @@ describe('Clusters table', () => {
button.click();
expect(button.classList).toContain('is-loading');
- expect(button.classList).toContain('is-disabled');
+ expect(button.getAttribute('disabled')).toEqual('true');
});
afterEach(() => {