aboutsummaryrefslogtreecommitdiffstats
path: root/test/fixtures
diff options
context:
space:
mode:
authorsadbeast <sadbeast@sadbeast.com>2024-01-31 17:47:56 -0800
committersadbeast <sadbeast@sadbeast.com>2024-01-31 17:47:56 -0800
commit332ec93366315fa1ed7b4acd7a3407c96e8ddfa7 (patch)
tree6ae553317f12a7a6a29c849c8805ffab96436dc2 /test/fixtures
downloadtd-main.tar.gz
td-main.tar.bz2
initial mistakeHEADmain
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/accounts.yml10
-rw-r--r--test/fixtures/files/.keep0
-rw-r--r--test/fixtures/league_pick_scores.yml11
-rw-r--r--test/fixtures/leagues.yml11
-rw-r--r--test/fixtures/player_scores.yml11
5 files changed, 43 insertions, 0 deletions
diff --git a/test/fixtures/accounts.yml b/test/fixtures/accounts.yml
new file mode 100644
index 0000000..ea6f893
--- /dev/null
+++ b/test/fixtures/accounts.yml
@@ -0,0 +1,10 @@
+# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+one:
+ email: freddie@queen.com
+ password_hash: <%= RodauthMain.allocate.password_hash("password") %>
+ status: verified
+
+two:
+ email: brian@queen.com
+ password_hash: <%= RodauthMain.allocate.password_hash("password") %>
+ status: verified
diff --git a/test/fixtures/files/.keep b/test/fixtures/files/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/fixtures/files/.keep
diff --git a/test/fixtures/league_pick_scores.yml b/test/fixtures/league_pick_scores.yml
new file mode 100644
index 0000000..d7a3329
--- /dev/null
+++ b/test/fixtures/league_pick_scores.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at https://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/leagues.yml b/test/fixtures/leagues.yml
new file mode 100644
index 0000000..d7a3329
--- /dev/null
+++ b/test/fixtures/leagues.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at https://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/player_scores.yml b/test/fixtures/player_scores.yml
new file mode 100644
index 0000000..d7a3329
--- /dev/null
+++ b/test/fixtures/player_scores.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at https://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