From f1a3eff8d5852fc15ead9a8f40da0916d6286a51 Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Wed, 19 Sep 2018 22:23:13 +0100 Subject: [PATCH] Fixed utils spec --- spec/javascripts/diffs/store/utils_spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/javascripts/diffs/store/utils_spec.js b/spec/javascripts/diffs/store/utils_spec.js index 06254dde852..897cd1483aa 100644 --- a/spec/javascripts/diffs/store/utils_spec.js +++ b/spec/javascripts/diffs/store/utils_spec.js @@ -136,7 +136,7 @@ describe('DiffsStoreUtils', () => { note_project_id: '', target_type: options.noteableType, target_id: options.noteableData.id, - return_discussion: 'true', + return_discussion: true, note: { noteable_type: options.noteableType, noteable_id: options.noteableData.id, @@ -195,6 +195,7 @@ describe('DiffsStoreUtils', () => { note_project_id: '', target_type: options.noteableType, target_id: options.noteableData.id, + return_discussion: true, note: { noteable_type: options.noteableType, noteable_id: options.noteableData.id,