+
+ # Previous may pass coincidentally if a uniq! then a sizecheck reveals too few unique names
+ # We don't want this to happen. Dupe canidates should fail regardless of how many are left.
+
+ election = ElectionStruct.new :name => "foobar", :description => "valid", :candidate_names => ["Apple", "Apple", "Orange", "Orange", "Pineapple" , "Pineapple"]
+ assert_create_quickvote_fails election