Remove unnecessary attributes in communities spec

This commit is contained in:
Javi Martín
2019-09-27 22:40:42 +02:00
parent db90672fdd
commit 1cfc6c121d

View File

@@ -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)