aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r--activerecord/test/fixtures/owners.yml7
-rw-r--r--activerecord/test/fixtures/pets.yml14
2 files changed, 21 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/owners.yml b/activerecord/test/fixtures/owners.yml
new file mode 100644
index 0000000000..d5493a84b7
--- /dev/null
+++ b/activerecord/test/fixtures/owners.yml
@@ -0,0 +1,7 @@
+blackbeard:
+ owner_id: 1
+ name: blackbeard
+
+ashley:
+ owner_id: 2
+ name: ashley
diff --git a/activerecord/test/fixtures/pets.yml b/activerecord/test/fixtures/pets.yml
new file mode 100644
index 0000000000..a1601a53f0
--- /dev/null
+++ b/activerecord/test/fixtures/pets.yml
@@ -0,0 +1,14 @@
+parrot:
+ pet_id: 1
+ name: parrot
+ owner_id: 1
+
+chew:
+ pet_id: 2
+ name: chew
+ owner_id: 2
+
+mochi:
+ pet_id: 3
+ name: mochi
+ owner_id: 2