Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/ref/stores/mutations_spec.js')
-rw-r--r--spec/frontend/ref/stores/mutations_spec.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/frontend/ref/stores/mutations_spec.js b/spec/frontend/ref/stores/mutations_spec.js
index de1d5c557ce..37eee18dc10 100644
--- a/spec/frontend/ref/stores/mutations_spec.js
+++ b/spec/frontend/ref/stores/mutations_spec.js
@@ -48,6 +48,14 @@ describe('Ref selector Vuex store mutations', () => {
});
});
+ describe(`${types.SET_USE_SYMBOLIC_REF_NAMES}`, () => {
+ it('sets useSymbolicRefNames on the state', () => {
+ mutations[types.SET_USE_SYMBOLIC_REF_NAMES](state, true);
+
+ expect(state.useSymbolicRefNames).toBe(true);
+ });
+ });
+
describe(`${types.SET_PROJECT_ID}`, () => {
it('updates the project ID', () => {
const newProjectId = '4';