Commit 78f64e83 authored by Phil Hughes's avatar Phil Hughes Committed by André Luís

Changed `true` string to a boolean

Fixed toBeTruthy to toBe(true) in spec
parent e3cc9d53
......@@ -55,7 +55,7 @@ export function getNoteFormData(params) {
note_project_id: '',
target_type: noteableData.targetType,
target_id: noteableData.id,
return_discussion: 'true',
return_discussion: true,
note: {
note,
position,
......
......@@ -271,8 +271,8 @@ describe('DiffsStoreActions', () => {
startRenderDiffsQueue({ state, commit: pseudoCommit });
expect(state.diffFiles[0].renderIt).toBeTruthy();
expect(state.diffFiles[1].renderIt).toBeTruthy();
expect(state.diffFiles[0].renderIt).toBe(true);
expect(state.diffFiles[1].renderIt).toBe(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