lib/fec_results/congress.rb in fec_results-0.0.5 vs lib/fec_results/congress.rb in fec_results-0.0.6
- old
+ new
@@ -80,10 +80,10 @@
c[:candidate_first] = candidate['CANDIDATE NAME (First)']
c[:candidate_last] = candidate['CANDIDATE NAME (Last)']
c[:candidate_name] = candidate['CANDIDATE NAME (Last, First)']
c = update_vote_tallies(c, candidate, 'PRIMARY', 'PRIMARY %', 'RUNOFF', 'RUNOFF %', 'GENERAL ', 'GENERAL %')
- c = update_combined_totals(c, candidate) if ['CT', 'NY', 'SC'].include?(c[:state])
+ c = update_combined_totals(c, candidate, 'COMBINED GE PARTY TOTALS (CT, NY, SC)', 'COMBINED % (CT, NY, SC)') if ['CT', 'NY', 'SC'].include?(c[:state])
results << c
end
Result.create_from_results(results)
end
\ No newline at end of file