]> git.openstreetmap.org Git - rails.git/blobdiff - test/fixtures/current_relation_members.yml
Add tests for member methods on relation models
[rails.git] / test / fixtures / current_relation_members.yml
index 31dccbc229c5e8d2c486f0a837b81559b5c1b817..67911b8d57c45fff716f0d87ae4417d913d22123 100644 (file)
@@ -1,29 +1,34 @@
 t1:
   relation_id: 1
+  sequence_id: 1
   member_role: "some"
   member_type: "Way"
   member_id: 3
 
 t2:
   relation_id: 1
+  sequence_id: 2
   member_role: "some"
   member_type: "Node"
   member_id: 5
 
 t3:
   relation_id: 1
+  sequence_id: 3
   member_role: "some"
   member_type: "Relation"
   member_id: 3
 
 t4:
   relation_id: 3
+  sequence_id: 1
   member_role: "some"
   member_type: "Node"
   member_id: 5
 
 t5:
   relation_id: 2
+  sequence_id: 1
   member_role: "some"
   member_type: "Node"
   member_id: 5
@@ -33,3 +38,24 @@ public_used:
   member_role: "used by other relation"
   member_type: "Relation"
   member_id: 5
+
+r8_m1:
+  relation_id: 8
+  sequence_id: 1
+  member_role: "some node"
+  member_type: "Node"
+  member_id: 15
+
+r8_m2:
+  relation_id: 8
+  sequence_id: 2
+  member_role: "some way"
+  member_type: "Way"
+  member_id: 4
+
+r8_m3:
+  relation_id: 8
+  sequence_id: 3
+  member_role: "some relation"
+  member_type: "Relation"
+  member_id: 7