diff options
author | Phil Hughes <me@iamphill.com> | 2017-03-08 19:07:26 +0300 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2017-03-08 19:07:26 +0300 |
commit | 1466b7eecc56194e2967393dec559912df20e9bb (patch) | |
tree | 65aedcd3326e459d43c6eb6e1cd78271eccc2aed /spec/javascripts/diff_comments_store_spec.js | |
parent | d20a6033858c316e20d5c3574c91f12be66fae17 (diff) |
Added discussion comments avatars to diff
Diffstat (limited to 'spec/javascripts/diff_comments_store_spec.js')
-rw-r--r-- | spec/javascripts/diff_comments_store_spec.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/spec/javascripts/diff_comments_store_spec.js b/spec/javascripts/diff_comments_store_spec.js index f956394ef53..84cf98c930a 100644 --- a/spec/javascripts/diff_comments_store_spec.js +++ b/spec/javascripts/diff_comments_store_spec.js @@ -7,7 +7,16 @@ require('~/diff_notes/stores/comments'); (() => { function createDiscussion(noteId = 1, resolved = true) { - CommentsStore.create('a', noteId, true, resolved, 'test'); + CommentsStore.create({ + discussionId: 'a', + noteId, + canResolve: true, + resolved, + resolvedBy: 'test', + authorName: 'test', + authorAvatar: 'test', + noteTruncated: 'test...', + }); } beforeEach(() => { |