]> projects.mako.cc - selectricity-live/blobdiff - test/fixtures/candidates.yml
added new tests and fixtures
[selectricity-live] / test / fixtures / candidates.yml
index 4a651bfcf79dbce6a825c34a302228021a2eacda..4153b5431d0ea23498ec7a59c6642d10ec685f29 100644 (file)
@@ -1,31 +1,87 @@
 # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
 # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
+<% i = 0 %>
 
 
-mika_normal:
- id: 1
- name: mika
- election_id: 1
-
-mako_normal:
- id: 2
- name: mako 
- election_id: 1
-
-bettamax_normal:
- id: 3
- name: bettamax
- election_id: 1
-
-mika_badend:
- id: 4
- name: mika
- election_id: 2
-
-mako_badend:
- id: 5
- name: mako 
- election_id: 2
-
-bettamax_badend:
- id: 6
- name: bettamax
- election_id: 2
+cand_<%= i += 1 %>:
+  name: "techno picnic"
+  election_id: "954"
+  id: "4666"
+
+cand_<%= i += 1 %>:
+  name: "History's Best Dictators"
+  election_id: "954"
+  id: "4667"
+
+cand_<%= i += 1 %>:
+  name: "Lolita"
+  election_id: "954"
+  id: "4668"
+
+cand_<%= i += 1 %>:
+  name: "Famous Murderers"
+  election_id: "954"
+  id: "4669"
+
+cand_<%= i += 1 %>:
+  name: "Eyes Wide Shut"
+  election_id: "954"
+  id: "4670"
+
+cand_<%= i += 1 %>:
+  name: "Famous Literature"
+  election_id: "954"
+  id: "4671"
+
+cand_<%= i += 1 %>:
+  name: "Solstice"
+  election_id: "954"
+  id: "4672"
+
+cand_<%= i += 1 %>:
+  name: "Rocky Horror"
+  election_id: "954"
+  id: "4673"
+
+cand_<%= i += 1 %>:
+  name: "Clothing Optional + Wine"
+  election_id: "954"
+  id: "4674"
+
+cand_<%= i += 1 %>:
+  name: "Kindergarden"
+  election_id: "954"
+  id: "4675"
+
+cand_<%= i += 1 %>:
+  name: "Antarctica"
+  election_id: "954"
+  id: "4676"
+
+cand_<%= i += 1 %>:
+  name: "Ender's Game"
+  election_id: "954"
+  id: "4677"
+
+cand_<%= i += 1 %>:
+  name: "Terry Pratchett's Discworld"
+  election_id: "954"
+  id: "4678"
+
+cand_<%= i += 1 %>:
+  name: "Soviet Russia"
+  election_id: "954"
+  id: "4679"
+
+cand_<%= i += 1 %>:
+  name: "Rejected Superheroes"
+  election_id: "954"
+  id: "4680"
+
+cand_<%= i += 1 %>:
+  name: "Steampunk"
+  election_id: "954"
+  id: "4681"
+
+cand_<%= i += 1 %>:
+  name: "In The Lab"
+  election_id: "954"
+  id: "4682"

Benjamin Mako Hill || Want to submit a patch?