From 0a66ad56d949cc8596eb02901c305faad14ef3db Mon Sep 17 00:00:00 2001 From: senderfm Date: Tue, 18 Jun 2019 09:58:29 +0200 Subject: [PATCH] Fix Specs, lint, fix test --- .../comments/CommentList/CommentList.spec.js | 2 +- webapp/components/comments/CommentList/index.vue | 4 ++-- webapp/pages/post/_id.vue | 11 +++++++++++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/webapp/components/comments/CommentList/CommentList.spec.js b/webapp/components/comments/CommentList/CommentList.spec.js index b15e4f7d6..503c0fe6d 100644 --- a/webapp/components/comments/CommentList/CommentList.spec.js +++ b/webapp/components/comments/CommentList/CommentList.spec.js @@ -86,7 +86,7 @@ describe('CommentList.vue', () => { }) it('displays comments when there are comments to display', () => { - expect(wrapper.find('div#comments').text()).toEqual('this is a comment') + expect(wrapper.find('div.comments').text()).toEqual('this is a comment') }) it("refetches a post's comments from the backend", () => { diff --git a/webapp/components/comments/CommentList/index.vue b/webapp/components/comments/CommentList/index.vue index c70c00c85..26118e745 100644 --- a/webapp/components/comments/CommentList/index.vue +++ b/webapp/components/comments/CommentList/index.vue @@ -1,5 +1,5 @@