aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/mixins.yml
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/fixtures/mixins.yml')
-rw-r--r--activerecord/test/fixtures/mixins.yml30
1 files changed, 23 insertions, 7 deletions
diff --git a/activerecord/test/fixtures/mixins.yml b/activerecord/test/fixtures/mixins.yml
index c74b1da51b..e326f6675e 100644
--- a/activerecord/test/fixtures/mixins.yml
+++ b/activerecord/test/fixtures/mixins.yml
@@ -1,14 +1,30 @@
-first:
+# tree mixins
+tree_1:
id: 1
- pos: 1
+ type: TreeMixin
parent_id: 0
-second:
+tree_2:
id: 2
- pos: 1
+ type: TreeMixin
parent_id: 1
-third:
+tree_3:
id: 3
- pos: 2
- parent_id: 1 \ No newline at end of file
+ type: TreeMixin
+ parent_id: 2
+
+tree_4:
+ id: 4
+ type: TreeMixin
+ parent_id: 1
+
+# List mixins
+
+<% (1..4).each do |counter| %>
+list_<%= counter %>:
+ id: <%= counter+6 %>
+ pos: <%= counter %>
+ type: ListMixin
+ parent_id: 5
+<% end %> \ No newline at end of file