]> projects.mako.cc - selectricity/blobdiff - lib/rubyvote/election.rb
Caught error from testcase! Quickvote creation errors weren't being properly returned.
[selectricity] / lib / rubyvote / election.rb
index ffd31c846e56400e9df945361d5a4c11ebb9df9d..5a5824341a57c1f4c9f6aef7ec14ed41f40dc693 100644 (file)
@@ -45,7 +45,7 @@ class ElectionVote
           if self.verify_vote(vote)
             self.tally_vote(vote)
           else
-            raise InvalidVoteError.new ("Invalid vote object", vote)
+            raise InvalidVoteError.new("Invalid vote object", vote)
           end
         end
       else

Benjamin Mako Hill || Want to submit a patch?