summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-02-18 20:42:51 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-02-18 20:42:51 -0500
commit96b97d691f6889004c38bef15411bc27e448fda1 (patch)
tree7105a54b40fc11ca38a67ff2f520cc977532da44 /test/fixtures
parent1b95d76d2bded709f512ccdca851388b8691708f (diff)
Changes to generate.sh
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/alerts.yml9
-rw-r--r--test/fixtures/matches.yml14
-rw-r--r--test/fixtures/pms.yml11
-rw-r--r--test/fixtures/server_settings.yml11
-rw-r--r--test/fixtures/team_match_pairs.yml9
-rw-r--r--test/fixtures/user_team_pairs.yml9
-rw-r--r--test/fixtures/users.yml18
7 files changed, 63 insertions, 18 deletions
diff --git a/test/fixtures/alerts.yml b/test/fixtures/alerts.yml
new file mode 100644
index 0000000..92ee1b0
--- /dev/null
+++ b/test/fixtures/alerts.yml
@@ -0,0 +1,9 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ author:
+ message: MyText
+
+two:
+ author:
+ message: MyText
diff --git a/test/fixtures/matches.yml b/test/fixtures/matches.yml
index 937a0c0..48c08a5 100644
--- a/test/fixtures/matches.yml
+++ b/test/fixtures/matches.yml
@@ -1,11 +1,7 @@
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-# 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
+one:
+ tournament:
+
+two:
+ tournament:
diff --git a/test/fixtures/pms.yml b/test/fixtures/pms.yml
new file mode 100644
index 0000000..4ad9af3
--- /dev/null
+++ b/test/fixtures/pms.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ author:
+ recipient:
+ message: MyText
+
+two:
+ author:
+ recipient:
+ message: MyText
diff --git a/test/fixtures/server_settings.yml b/test/fixtures/server_settings.yml
new file mode 100644
index 0000000..937a0c0
--- /dev/null
+++ b/test/fixtures/server_settings.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+# 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
diff --git a/test/fixtures/team_match_pairs.yml b/test/fixtures/team_match_pairs.yml
new file mode 100644
index 0000000..1a81ab4
--- /dev/null
+++ b/test/fixtures/team_match_pairs.yml
@@ -0,0 +1,9 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ team:
+ match:
+
+two:
+ team:
+ match:
diff --git a/test/fixtures/user_team_pairs.yml b/test/fixtures/user_team_pairs.yml
new file mode 100644
index 0000000..bda8bd3
--- /dev/null
+++ b/test/fixtures/user_team_pairs.yml
@@ -0,0 +1,9 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ user:
+ team:
+
+two:
+ user:
+ team:
diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml
index 937a0c0..02ffdbb 100644
--- a/test/fixtures/users.yml
+++ b/test/fixtures/users.yml
@@ -1,11 +1,11 @@
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
-# 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
+one:
+ name: MyText
+ pw_hash:
+ groups:
+
+two:
+ name: MyText
+ pw_hash:
+ groups: