Adds settings for featured proposals

This commit is contained in:
decabeza
2018-11-29 19:11:58 +01:00
parent 609d2083f8
commit 37da986014
8 changed files with 35 additions and 9 deletions

View File

@@ -17,8 +17,8 @@ module Proposals
end
def create_featured_proposals
[create(:proposal, :with_confidence_score, cached_votes_up: 100),
create(:proposal, :with_confidence_score, cached_votes_up: 90),
create(:proposal, :with_confidence_score, cached_votes_up: 80)]
[create(:proposal, :with_confidence_score, cached_votes_up: 200),
create(:proposal, :with_confidence_score, cached_votes_up: 100),
create(:proposal, :with_confidence_score, cached_votes_up: 90)]
end
end