From 1cfc6c121d8ab3b8804e9b7d6524ce61707dfe20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Fri, 27 Sep 2019 22:40:42 +0200 Subject: [PATCH] Remove unnecessary attributes in communities spec --- spec/features/communities_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/features/communities_spec.rb b/spec/features/communities_spec.rb index 9880a2d15..a3d14ecd4 100644 --- a/spec/features/communities_spec.rb +++ b/spec/features/communities_spec.rb @@ -50,10 +50,10 @@ describe "Communities" do community = proposal.community topic1 = create(:topic, community: community) topic2 = create(:topic, community: community) - topic2_comment = create(:comment, :with_confidence_score, commentable: topic2) + topic2_comment = create(:comment, commentable: topic2) topic3 = create(:topic, community: community) - topic3_comment = create(:comment, :with_confidence_score, commentable: topic3) - topic3_comment = create(:comment, :with_confidence_score, commentable: topic3) + topic3_comment = create(:comment, commentable: topic3) + topic3_comment = create(:comment, commentable: topic3) visit community_path(community, order: :most_commented)