Commit 256963cc authored by Mark Florian's avatar Mark Florian

Merge branch 'vulnerable-projects-mutations-specs-fix-descriptions' into 'master'

Vulnerable projects specs: fix descriptions

See merge request gitlab-org/gitlab!24236
parents 6ef00388 802ff976
......@@ -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 * as types from 'ee/security_dashboard/store/modules/vulnerable_projects/mutation_types';
describe('projectsSelector mutations', () => {
describe('Vulnerable projects mutations', () => {
let state;
beforeEach(() => {
......@@ -33,7 +33,7 @@ describe('projectsSelector mutations', () => {
});
describe('SET_HAS_ERROR', () => {
it('sets state.projects to be "true"', () => {
it('sets state.hasError to be "true"', () => {
expect(state.hasError).toBe(false);
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