fixes specs

This commit is contained in:
rgarcia
2015-09-14 21:25:05 +02:00
parent eea3b0922e
commit b5de9830ec
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ module VotesHelper
end
def voted_for?(votes, votable)
return false unless votes[votable.id]
votes[votable.id]
end
end