]> git.openstreetmap.org Git - rails.git/blobdiff - test/fixtures/ways.yml
Fix updateLinks({lat: 0, lon: 0}, ...)
[rails.git] / test / fixtures / ways.yml
index 80b1da6426a8248f5b959be0fc3571eae0f8a963..94fd5aebda5402c243a6daaad73e0ae70fb42d49 100644 (file)
@@ -1,49 +1,99 @@
 visible_way:
 visible_way:
-  id: 1
-  changeset_id: 1
+  way_id: 1
+  changeset_id: 2
   timestamp: 2007-01-01 00:00:00
   visible: true
   version: 1
 
 invisible_way:
   timestamp: 2007-01-01 00:00:00
   visible: true
   version: 1
 
 invisible_way:
-  id: 2
-  changeset_id: 1
+  way_id: 2
+  changeset_id: 2
   timestamp: 2007-01-01 00:00:00
   visible: false
   version: 1
 
 used_way:
   timestamp: 2007-01-01 00:00:00
   visible: false
   version: 1
 
 used_way:
-  id: 3
-  changeset_id: 1
+  way_id: 3
+  changeset_id: 2
   timestamp: 2007-01-01 00:00:00
   visible: true
   version: 1
 
 way_with_versions_v1:
   timestamp: 2007-01-01 00:00:00
   visible: true
   version: 1
 
 way_with_versions_v1:
-  id: 4
+  way_id: 4
   changeset_id: 4
   timestamp: 2008-01-01 00:01:00
   visible: true
   version: 1
 
 way_with_versions_v2:
   changeset_id: 4
   timestamp: 2008-01-01 00:01:00
   visible: true
   version: 1
 
 way_with_versions_v2:
-  id: 4
+  way_id: 4
   changeset_id: 4
   timestamp: 2008-01-01 00:02:00
   visible: true
   version: 2
 
   changeset_id: 4
   timestamp: 2008-01-01 00:02:00
   visible: true
   version: 2
 
-way_with_versions:
-  id: 4
+way_with_versions_v3:
+  way_id: 4
   changeset_id: 4
   timestamp: 2008-01-01 00:03:00
   visible: true
   version: 3
 
 way_with_versions_v4:
   changeset_id: 4
   timestamp: 2008-01-01 00:03:00
   visible: true
   version: 3
 
 way_with_versions_v4:
-  id: 4
+  way_id: 4
   changeset_id: 4
   timestamp: 2008-01-01 00:04:00
   visible: true
   version: 4
 
   changeset_id: 4
   timestamp: 2008-01-01 00:04:00
   visible: true
   version: 4
 
+way_with_duplicate_nodes:
+  way_id: 5
+  changeset_id: 2
+  timestamp: 2007-01-01 00:00:00
+  visible: true
+  version: 1
+
+way_with_redacted_versions_v1:
+  way_id: 6
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:10
+  visible: true
+  version: 1
+
+way_with_redacted_versions_v2:
+  way_id: 6
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:11
+  visible: true
+  version: 2
+  redaction_id: 1
+
+way_with_redacted_versions_v3:
+  way_id: 6
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:12
+  visible: true
+  version: 3
+  redaction_id: 1
+
+way_with_redacted_versions_v4:
+  way_id: 6
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:13
+  visible: true
+  version: 4
+
+way_with_multiple_nodes_v1:
+  way_id: 7
+  changeset_id: 2
+  timestamp: 2007-01-01 00:00:00
+  visible: true
+  version: 1
+
+way_with_multiple_nodes_v2:
+  way_id: 7
+  changeset_id: 4
+  timestamp: 2008-01-01 00:00:00
+  visible: true
+  version: 2