rspec for voting