Fix the average value returned on voting when the vote is changed by the user
authorJorge H. Cuadrado <kuadrosxx@gmail.com>
Wed, 8 Jun 2011 23:35:01 +0000 (18:35 -0500)
committerJorge H. Cuadrado <kuadrosxx@gmail.com>
Wed, 8 Jun 2011 23:35:01 +0000 (18:35 -0500)
commit7b3e31c032309ec690f623ef6788e6a4a079bd72
tree64609df82f43ffb0115f079feb17e1a9f737dc21
parent9bc042d8dece11299bfbc2fafe86c2fa060ecf0e
Fix the average value returned on voting when the vote is changed by the user

Signed-off-by: Jorge H. Cuadrado <kuadrosxx@gmail.com>
app/controllers/votes_controller.rb
spec/controllers/votes_controller_spec.rb