summaryrefslogtreecommitdiff
path: root/spec/javascripts/projects
diff options
context:
space:
mode:
authorDennis Tang <dtang@gitlab.com>2018-05-11 21:03:05 +0200
committerDennis Tang <dtang@gitlab.com>2018-05-11 21:03:05 +0200
commite144946ebed62bcc2f24b668beae8242776c2cc9 (patch)
treedce75b91b686ca87b29b8108d27afde516e4fb50 /spec/javascripts/projects
parentbb0d746e4d3344a3b372698115a55063f9dbcbb0 (diff)
downloadgitlab-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.js2
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);