]> git.openstreetmap.org Git - rails.git/blobdiff - test/fixtures/relation_members.yml
Controllers + a few tests + new notification added. Work pending on the notification...
[rails.git] / test / fixtures / relation_members.yml
index f424e6a51746ad6c9826b19808ec84a2d85186fd..a5f04f1ef28bada604572422d7047f2c13f6aebc 100644 (file)
@@ -1,6 +1,103 @@
 t1:
 t1:
-  id: 1
+  relation_id: 1
+  sequence_id: 1
   member_role: "some"
   member_role: "some"
-  member_type: "node"
+  member_type: "Way"
   member_id: 3
   version: 1
   member_id: 3
   version: 1
+
+t2:
+  relation_id: 1
+  sequence_id: 2
+  member_role: "some"
+  member_type: "Node"
+  member_id: 5
+  version: 1
+
+t3:
+  relation_id: 1
+  sequence_id: 3
+  member_role: "some"
+  member_type: "Relation"
+  member_id: 3
+  version: 1
+
+t4:
+  relation_id: 3
+  sequence_id: 1
+  member_role: "some"
+  member_type: "Node"
+  member_id: 5
+  version: 1
+
+t5:
+  relation_id: 2
+  sequence_id: 1
+  member_role: "some"
+  member_type: "Node"
+  member_id: 5
+  version: 1
+  
+public_used:
+  relation_id: 6
+  sequence_id: 1
+  member_role: "used by other relation"
+  member_type: "Relation"
+  member_id: 5
+  version: 1
+
+r8_v1_m1:
+  relation_id: 8
+  sequence_id: 1
+  member_role: "some node"
+  member_type: "Node"
+  member_id: 15
+  version: 1
+
+r8_v2_m1:
+  relation_id: 8
+  sequence_id: 1
+  member_role: "some changed node"
+  member_type: "Node"
+  member_id: 15
+  version: 2
+
+r8_v3_m1:
+  relation_id: 8
+  sequence_id: 1
+  member_role: "some changed node"
+  member_type: "Node"
+  member_id: 15
+  version: 3
+
+r8_v3_m3:
+  relation_id: 8
+  sequence_id: 2
+  member_role: "some relation"
+  member_type: "Relation"
+  member_id: 7
+  version: 3
+
+r8_v4_m1:
+  relation_id: 8
+  sequence_id: 1
+  member_role: "some node"
+  member_type: "Node"
+  member_id: 15
+  version: 4
+
+r8_v4_m2:
+  relation_id: 8
+  sequence_id: 2
+  member_role: "some way"
+  member_type: "Way"
+  member_id: 4
+  version: 4
+
+r8_v4_m3:
+  relation_id: 8
+  sequence_id: 3
+  member_role: "some relation"
+  member_type: "Relation"
+  member_id: 7
+  version: 4