]> git.openstreetmap.org Git - rails.git/blobdiff - test/fixtures/current_relation_members.yml
Use the standard ruby instance_methods call
[rails.git] / test / fixtures / current_relation_members.yml
index bddc8a0dd0cf0a77dbd0825194240c9e2eeff40d..31dccbc229c5e8d2c486f0a837b81559b5c1b817 100644 (file)
@@ -1,23 +1,35 @@
 t1:
-  id: 1
+  relation_id: 1
   member_role: "some"
-  member_type: "way"
+  member_type: "Way"
   member_id: 3
 
 t2:
-  id: 1
+  relation_id: 1
   member_role: "some"
-  member_type: "node"
+  member_type: "Node"
   member_id: 5
 
 t3:
-  id: 1
+  relation_id: 1
   member_role: "some"
-  member_type: "relation"
+  member_type: "Relation"
   member_id: 3
 
 t4:
-  id: 3
+  relation_id: 3
   member_role: "some"
-  member_type: "node"
+  member_type: "Node"
+  member_id: 5
+
+t5:
+  relation_id: 2
+  member_role: "some"
+  member_type: "Node"
+  member_id: 5
+  
+public_used:
+  relation_id: 6
+  member_role: "used by other relation"
+  member_type: "Relation"
   member_id: 5