Commit 802ff976 authored by Dave Pisek's avatar Dave Pisek

Vulnerable projects specs: fix descriptions

Fixes two descriptions within the vulnerable-projects mutations specs.
parent d9803754
...@@ -2,7 +2,7 @@ import createState from 'ee/security_dashboard/store/modules/project_selector/st ...@@ -2,7 +2,7 @@ import createState from 'ee/security_dashboard/store/modules/project_selector/st
import mutations from 'ee/security_dashboard/store/modules/vulnerable_projects/mutations'; import mutations from 'ee/security_dashboard/store/modules/vulnerable_projects/mutations';
import * as types from 'ee/security_dashboard/store/modules/vulnerable_projects/mutation_types'; import * as types from 'ee/security_dashboard/store/modules/vulnerable_projects/mutation_types';
describe('projectsSelector mutations', () => { describe('Vulnerable projects mutations', () => {
let state; let state;
beforeEach(() => { beforeEach(() => {
...@@ -33,7 +33,7 @@ describe('projectsSelector mutations', () => { ...@@ -33,7 +33,7 @@ describe('projectsSelector mutations', () => {
}); });
describe('SET_HAS_ERROR', () => { describe('SET_HAS_ERROR', () => {
it('sets state.projects to be "true"', () => { it('sets state.hasError to be "true"', () => {
expect(state.hasError).toBe(false); expect(state.hasError).toBe(false);
mutations[types.SET_HAS_ERROR](state, true); mutations[types.SET_HAS_ERROR](state, true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment