diff options
author | Phil Hughes <me@iamphill.com> | 2019-03-01 09:34:16 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-03-01 09:34:16 +0000 |
commit | 37541114770f9229acb29e798494a063e1b40d04 (patch) | |
tree | fd78ae442d0bd628a835525b2d82d156eaea3c40 /spec | |
parent | d860ab195afbf11118564e6399cd59a8bbd9d622 (diff) | |
download | gitlab-ce-37541114770f9229acb29e798494a063e1b40d04.tar.gz |
Move EE differences in CE diff files into CE
Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/9974, https://gitlab.com/gitlab-org/gitlab-ee/issues/9973, https://gitlab.com/gitlab-org/gitlab-ee/issues/9969
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/notes/stores/getters_spec.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/javascripts/notes/stores/getters_spec.js b/spec/javascripts/notes/stores/getters_spec.js index c066975a43b..8f3c493dd4c 100644 --- a/spec/javascripts/notes/stores/getters_spec.js +++ b/spec/javascripts/notes/stores/getters_spec.js @@ -261,4 +261,12 @@ describe('Getters Notes Store', () => { expect(getters.firstUnresolvedDiscussionId(state, localGettersFalsy)(false)).toBeFalsy(); }); }); + + describe('getDiscussion', () => { + it('returns discussion by ID', () => { + state.discussions.push({ id: '1' }); + + expect(getters.getDiscussion(state)('1')).toEqual({ id: '1' }); + }); + }); }); |