]> git.openstreetmap.org Git - rails.git/blobdiff - test/fixtures/ways.yml
Added tests for ways_for_node. Altered behaviour to not return deleted ways. Fixed...
[rails.git] / test / fixtures / ways.yml
index c8cf6dcf4d2f6568cffacd5ea0b39336d3b9d151..4f0af985482695991dd8d36fb6aaafad41d02691 100644 (file)
@@ -1,21 +1,49 @@
 visible_way:
   id: 1
-  user_id: 1
+  changeset_id: 1
   timestamp: 2007-01-01 00:00:00
   visible: 1
   version: 1
 
 invisible_way:
   id: 2
-  user_id: 1
+  changeset_id: 1
   timestamp: 2007-01-01 00:00:00
   visible: 0
   version: 1
 
 used_way:
   id: 3
-  user_id: 1
+  changeset_id: 1
   timestamp: 2007-01-01 00:00:00
-  visible: 0
+  visible: 1
+  version: 1
+
+way_with_versions_v1:
+  id: 4
+  changeset_id: 4
+  timestamp: 2008-01-01 00:01:00
+  visible: 1
   version: 1
 
+way_with_versions_v2:
+  id: 4
+  changeset_id: 4
+  timestamp: 2008-01-01 00:02:00
+  visible: 1
+  version: 2
+
+way_with_versions:
+  id: 4
+  changeset_id: 4
+  timestamp: 2008-01-01 00:03:00
+  visible: 1
+  version: 3
+
+way_with_versions_v4:
+  id: 4
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:00
+  visible: 1
+  version: 4
+