]> git.openstreetmap.org Git - rails.git/blobdiff - test/fixtures/relations.yml
Add tests for tag methods on object models
[rails.git] / test / fixtures / relations.yml
index 5583527827f634b9b2932affffa27bd240784538..0640bf2f38b0e43ec3e962146c189bd7dd33a4a0 100644 (file)
@@ -1,34 +1,99 @@
 visible_relation:
 visible_relation:
-  id: 1
+  relation_id: 1
   changeset_id: 1
   timestamp: 2007-01-01 00:00:00
   visible: true
   version: 1
 
 invisible_relation:
   changeset_id: 1
   timestamp: 2007-01-01 00:00:00
   visible: true
   version: 1
 
 invisible_relation:
-  id: 2
+  relation_id: 2
   changeset_id: 3
   timestamp: 2007-01-01 00:00:00
   visible: false
   version: 1
 
 used_relation:
   changeset_id: 3
   timestamp: 2007-01-01 00:00:00
   visible: false
   version: 1
 
 used_relation:
-  id: 3
+  relation_id: 3
   changeset_id: 1
   timestamp: 2007-01-01 00:00:00
   visible: true
   version: 1
   
 multi_tag_relation:
   changeset_id: 1
   timestamp: 2007-01-01 00:00:00
   visible: true
   version: 1
   
 multi_tag_relation:
-  id: 4
+  relation_id: 4
   changeset_id: 4
   timestamp: 2009-04-21 09:50:57
   visible: true
   version: 1
   
 public_used_relation:
   changeset_id: 4
   timestamp: 2009-04-21 09:50:57
   visible: true
   version: 1
   
 public_used_relation:
-  id: 5
+  relation_id: 5
   changeset_id: 2
   timestamp: 2009-04-22 00:30:03
   visible: true
   version: 1
   changeset_id: 2
   timestamp: 2009-04-22 00:30:03
   visible: true
   version: 1
+  
+public_visible_relation:
+  relation_id: 6
+  changeset_id: 2
+  timestamp: 2009-04-22 00:34:12
+  visible: true
+  version: 1
+
+relation_with_redacted_versions_v1:
+  relation_id: 7
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:10
+  visible: true
+  version: 1
+
+relation_with_redacted_versions_v2:
+  relation_id: 7
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:11
+  visible: true
+  version: 2
+  redaction_id: 1
+
+relation_with_redacted_versions_v3:
+  relation_id: 7
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:12
+  visible: true
+  version: 3
+  redaction_id: 1
+
+relation_with_redacted_versions_v4:
+  relation_id: 7
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:13
+  visible: true
+  version: 4
+
+relation_with_versions_v1:
+  relation_id: 8
+  changeset_id: 4
+  timestamp: 2008-01-01 00:01:00
+  visible: true
+  version: 1
+
+relation_with_versions_v2:
+  relation_id: 8
+  changeset_id: 4
+  timestamp: 2008-01-01 00:02:00
+  visible: true
+  version: 2
+
+relation_with_versions_v3:
+  relation_id: 8
+  changeset_id: 4
+  timestamp: 2008-01-01 00:03:00
+  visible: true
+  version: 3
+
+relation_with_versions_v4:
+  relation_id: 8
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:00
+  visible: true
+  version: 4