]> projects.mako.cc - selectricity/blob - app/models/quick_voter.rb
Blarg, finally got functional testing framework working. Had to override the TestSess...
[selectricity] / app / models / quick_voter.rb
1 class QuickVoter < Voter
2   validates_presence_of :session_id
3
4   # validates_uniqueness_of :session_id
5   # instead we shoudl validate that it's unique for a given election_id
6 end

Benjamin Mako Hill || Want to submit a patch?