]> git.openstreetmap.org Git - rails.git/commitdiff
Add new fixtures for testing multiple tags on a relation.
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Tue, 21 Apr 2009 17:54:59 +0000 (17:54 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Tue, 21 Apr 2009 17:54:59 +0000 (17:54 +0000)
test/fixtures/current_relation_tags.yml
test/fixtures/current_relations.yml
test/fixtures/relation_tags.yml
test/fixtures/relations.yml

index d2755bdfd4edbe8781399363233f671a5de91f98..a797a336ce2be9ad4cd38380f5025edffc577a71 100644 (file)
@@ -12,3 +12,23 @@ t3:
   id: 3
   k: 'test'
   v: 'yes'
+
+mt_1:
+  id: 4
+  k: 'tag1'
+  v: 'val1'
+
+mt_2:
+  id: 4
+  k: 'tag2'
+  v: 'val2'
+
+mt_3:
+  id: 4
+  k: 'tag3'
+  v: 'val3'
+
+mt_4:
+  id: 4
+  k: 'tag4'
+  v: 'val4'
index 165f1a21e032a7623a9735cfc9d50d8e2d9eef97..20b035da5dee3d6ac3cdcc3624dc4a1c0ad1cc43 100644 (file)
@@ -18,3 +18,10 @@ used_relation:
   timestamp: 2007-01-01 00:00:00
   visible: true
   version: 1
+  
+multi_tag_relation:
+  id: 4
+  changeset_id: 4
+  timestamp: 2009-04-21 09:50:67
+  visible: true
+  version: 1
index 7e671672d5e4079b9ec3926dd1a478cdadbd15ff..65c1142238c7a2818711a461e51e32a5f8e93706 100644 (file)
@@ -15,3 +15,23 @@ t3:
   k: 'test'
   v: 'yes'
   version: 1
+
+mt_1:
+  id: 4
+  k: 'tag1'
+  v: 'val1'
+
+mt_2:
+  id: 4
+  k: 'tag2'
+  v: 'val2'
+
+mt_3:
+  id: 4
+  k: 'tag3'
+  v: 'val3'
+
+mt_4:
+  id: 4
+  k: 'tag4'
+  v: 'val4'
index 165f1a21e032a7623a9735cfc9d50d8e2d9eef97..164e222d3af4cd8d723881dd55de7879fde00244 100644 (file)
@@ -18,3 +18,10 @@ used_relation:
   timestamp: 2007-01-01 00:00:00
   visible: true
   version: 1
+  
+multi_tag_relation:
+  id: 4
+  changeset_id: 4
+  timestamp: 2009-04-21 09:50:67
+  visible:true
+  version: 1