diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2018-08-07 22:05:43 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-08-07 22:05:43 +0300 |
commit | 83badd07f783880079ecfb4f47705fe62760b8da (patch) | |
tree | 41ce99fe42c9d80c18012b0e2c669852ffdff79d /spec/javascripts/clusters/stores/clusters_store_spec.js | |
parent | 29203198b6537551b7165538846eb9124c6d9ff3 (diff) |
Fix UI error whereby prometheus application status is updated
Diffstat (limited to 'spec/javascripts/clusters/stores/clusters_store_spec.js')
-rw-r--r-- | spec/javascripts/clusters/stores/clusters_store_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/clusters/stores/clusters_store_spec.js b/spec/javascripts/clusters/stores/clusters_store_spec.js index 9e43552f740..104a064bdd3 100644 --- a/spec/javascripts/clusters/stores/clusters_store_spec.js +++ b/spec/javascripts/clusters/stores/clusters_store_spec.js @@ -1,5 +1,5 @@ import ClustersStore from '~/clusters/stores/clusters_store'; -import { APPLICATION_INSTALLING } from '~/clusters/constants'; +import { APPLICATION_STATUS } from '~/clusters/constants'; import { CLUSTERS_MOCK_DATA } from '../services/mock_data'; describe('Clusters Store', () => { @@ -35,7 +35,7 @@ describe('Clusters Store', () => { it('should store new request status', () => { expect(store.state.applications.helm.requestStatus).toEqual(null); - const newStatus = APPLICATION_INSTALLING; + const newStatus = APPLICATION_STATUS.INSTALLING; store.updateAppProperty('helm', 'requestStatus', newStatus); expect(store.state.applications.helm.requestStatus).toEqual(newStatus); |