summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-22 15:53:32 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-22 15:53:32 -0400
commitc927cd7c043d982f8ffb51c8a78288d88d825d82 (patch)
tree600b2ad18f8faa3ff5d31bfe6ac61edf59fb8bc9 /test/fixtures
parentd36c548ca756f8371c08991287e3625d031cf8b3 (diff)
run ./generate.sh
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/matches.yml6
-rw-r--r--test/fixtures/teams.yml14
2 files changed, 11 insertions, 9 deletions
diff --git a/test/fixtures/matches.yml b/test/fixtures/matches.yml
index ff81182..4213238 100644
--- a/test/fixtures/matches.yml
+++ b/test/fixtures/matches.yml
@@ -3,15 +3,13 @@
one:
status: 1
tournament_stage_id:
- name: MyString
winner_id:
- remote_id: MyString
+ remote_id: MyText
submitted_peer_evaluations: 1
two:
status: 1
tournament_stage_id:
- name: MyString
winner_id:
- remote_id: MyString
+ remote_id: MyText
submitted_peer_evaluations: 1
diff --git a/test/fixtures/teams.yml b/test/fixtures/teams.yml
index 4efc76e..937a0c0 100644
--- a/test/fixtures/teams.yml
+++ b/test/fixtures/teams.yml
@@ -1,7 +1,11 @@
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-one:
- match_id:
-
-two:
- match_id:
+# This model initially had no columns defined. If you add columns to the
+# model remove the '{}' from the fixture names and add the columns immediately
+# below each fixture, per the syntax in the comments below
+#
+one: {}
+# column: value
+#
+two: {}
+# column: value