diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-11-28 18:36:49 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-11-28 19:14:44 +0000 |
commit | e89fad5246c6ad2f64c43dc483f00f7b00fd4f45 (patch) | |
tree | eb41413ace19e7ecb9df35e70c34cf8c35bf2848 /spec/javascripts | |
parent | 9e0ce26c4c654e1d62f3145b5085719fd68c0db7 (diff) | |
download | gitlab-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.js | 2 |
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(() => { |