]> projects.mako.cc - selectricity-live/blobdiff - test/fixtures/elections.yml
Document the SelectricityAPI
[selectricity-live] / test / fixtures / elections.yml
index 8794d28ae419929e241d892341c7429b84e5c74e..814540fcd314c7ede325fa4cde8a5c8f3237ccda 100644 (file)
@@ -1,5 +1,22 @@
 # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
-first:
-  id: 1
-another:
-  id: 2
+quickvote_normal:
+   id: 1
+   name: acetarium
+   description: who is the winner?
+   anonymous: 1
+   startdate: 2007-08-22 12:00:00
+   enddate: 2007-09-21 11:59:59
+   active: 1
+   type: QuickVote
+   election_method: ssd
+
+quickvote_invalid_endtime:
+   id: 2
+   name: acetarium2
+   description: who is the winner?
+   anonymous: 1
+   startdate: 2007-08-22 12:00:00
+   enddate: 2003-09-21 11:59:59
+   active: 1
+   type: QuickVote
+   election_method: ssd

Benjamin Mako Hill || Want to submit a patch?