]> git.openstreetmap.org Git - rails.git/blobdiff - test/fixtures/current_relations.yml
Add tests for member methods on relation models
[rails.git] / test / fixtures / current_relations.yml
index c1f77d4282d36a316fe68159f08579ed611b53d9..fd95f60ce579fadc3d68d034238fc4dcfb552455 100644 (file)
@@ -1,17 +1,55 @@
 visible_relation:
   id: 1
-  user_id: 1
+  changeset_id: 1
   timestamp: 2007-01-01 00:00:00
-  visible: 1
+  visible: true
+  version: 1
 
 invisible_relation:
   id: 2
-  user_id: 1
+  changeset_id: 3
   timestamp: 2007-01-01 00:00:00
-  visible: 0
+  visible: false
+  version: 1
 
 used_relation:
   id: 3
-  user_id: 1
+  changeset_id: 1
   timestamp: 2007-01-01 00:00:00
-  visible: 1
+  visible: true
+  version: 1
+  
+multi_tag_relation:
+  id: 4
+  changeset_id: 4
+  timestamp: 2009-04-21 09:50:57
+  visible: true
+  version: 1
+  
+public_used_relation:
+  id: 5
+  changeset_id: 2
+  timestamp: 2009-04-22 00:30:33
+  visible: true
+  version: 1
+  
+public_visible_relation:
+  id: 6
+  changeset_id: 2
+  timestamp: 2009-04-22 00:34:12
+  visible: true
+  version: 1
+
+relation_with_redacted_versions:
+  id: 7
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:13
+  visible: true
+  version: 4
+
+relation_with_versions:
+  id: 8
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:00
+  visible: true
+  version: 4