diff options
author | Dennis Tang <dtang@gitlab.com> | 2018-05-11 21:03:05 +0200 |
---|---|---|
committer | Dennis Tang <dtang@gitlab.com> | 2018-05-11 21:03:05 +0200 |
commit | e144946ebed62bcc2f24b668beae8242776c2cc9 (patch) | |
tree | dce75b91b686ca87b29b8108d27afde516e4fb50 /spec/javascripts/projects | |
parent | bb0d746e4d3344a3b372698115a55063f9dbcbb0 (diff) | |
download | gitlab-ce-e144946ebed62bcc2f24b668beae8242776c2cc9.tar.gz |
fix when no GCP projects are found
Diffstat (limited to 'spec/javascripts/projects')
-rw-r--r-- | spec/javascripts/projects/gke_cluster_dropdowns/components/gke_project_id_dropdown_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/projects/gke_cluster_dropdowns/components/gke_project_id_dropdown_spec.js b/spec/javascripts/projects/gke_cluster_dropdowns/components/gke_project_id_dropdown_spec.js index cab1ebff802..d6b396a3da8 100644 --- a/spec/javascripts/projects/gke_cluster_dropdowns/components/gke_project_id_dropdown_spec.js +++ b/spec/javascripts/projects/gke_cluster_dropdowns/components/gke_project_id_dropdown_spec.js @@ -58,7 +58,7 @@ describe('GkeProjectIdDropdown', () => { it('returns empty toggle text', done => vm.$nextTick().then(() => { - vm.$store.commit(SET_PROJECTS, []); + vm.$store.commit(SET_PROJECTS, null); vm.setItem(emptyProjectMock); expect(vm.toggleText).toBe(LABELS.EMPTY); |