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

Fixed utils spec

parent 78f64e83
...@@ -136,7 +136,7 @@ describe('DiffsStoreUtils', () => { ...@@ -136,7 +136,7 @@ describe('DiffsStoreUtils', () => {
note_project_id: '', note_project_id: '',
target_type: options.noteableType, target_type: options.noteableType,
target_id: options.noteableData.id, target_id: options.noteableData.id,
return_discussion: 'true', return_discussion: true,
note: { note: {
noteable_type: options.noteableType, noteable_type: options.noteableType,
noteable_id: options.noteableData.id, noteable_id: options.noteableData.id,
...@@ -195,6 +195,7 @@ describe('DiffsStoreUtils', () => { ...@@ -195,6 +195,7 @@ describe('DiffsStoreUtils', () => {
note_project_id: '', note_project_id: '',
target_type: options.noteableType, target_type: options.noteableType,
target_id: options.noteableData.id, target_id: options.noteableData.id,
return_discussion: true,
note: { note: {
noteable_type: options.noteableType, noteable_type: options.noteableType,
noteable_id: options.noteableData.id, noteable_id: options.noteableData.id,
......
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