adds specs for proposal summary

This commit is contained in:
rgarcia
2016-02-16 13:53:39 +01:00
parent 1158e764ca
commit 42fdc52329
5 changed files with 125 additions and 32 deletions

View File

@@ -36,7 +36,7 @@ class ProposalsController < ApplicationController
end
def summary
@proposals = Proposal.last_week.sort_by_confidence_score.grouped_by_categories(Proposal.category_names)
@proposals = Proposal.last_week.sort_by_confidence_score.grouped_by_categories
end
private