diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-18 09:09:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-18 09:09:06 +0300 |
commit | cefe554b7ce2d0b52f9de855be832a47c2bc24ab (patch) | |
tree | 74c1ad2f688afd2f806aaf94e73e0bcd128cea00 /spec/frontend/ide | |
parent | 5ee120f46740efac7b8a460d7a92e4da82f4fb0b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/ide')
-rw-r--r-- | spec/frontend/ide/stores/modules/file_templates/getters_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/ide/stores/modules/file_templates/getters_spec.js b/spec/frontend/ide/stores/modules/file_templates/getters_spec.js index 17cb457881f..5855496a330 100644 --- a/spec/frontend/ide/stores/modules/file_templates/getters_spec.js +++ b/spec/frontend/ide/stores/modules/file_templates/getters_spec.js @@ -1,5 +1,5 @@ import createState from '~/ide/stores/state'; -import { activityBarViews } from '~/ide/constants'; +import { leftSidebarViews } from '~/ide/constants'; import * as getters from '~/ide/stores/modules/file_templates/getters'; describe('IDE file templates getters', () => { @@ -17,7 +17,7 @@ describe('IDE file templates getters', () => { }); it('returns true if template is found and currentActivityView is edit', () => { - rootState.currentActivityView = activityBarViews.edit; + rootState.currentActivityView = leftSidebarViews.edit.name; expect( getters.showFileTemplatesBar( @@ -31,7 +31,7 @@ describe('IDE file templates getters', () => { }); it('returns false if template is found and currentActivityView is not edit', () => { - rootState.currentActivityView = activityBarViews.commit; + rootState.currentActivityView = leftSidebarViews.commit.name; expect( getters.showFileTemplatesBar( |