From: Shaun McDonald Date: Tue, 21 Apr 2009 17:54:59 +0000 (+0000) Subject: Add new fixtures for testing multiple tags on a relation. X-Git-Tag: live~7529 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/b27e534b2e84fba29ca968b108e1e926c04b2220?ds=sidebyside Add new fixtures for testing multiple tags on a relation. --- diff --git a/test/fixtures/current_relation_tags.yml b/test/fixtures/current_relation_tags.yml index d2755bdfd..a797a336c 100644 --- a/test/fixtures/current_relation_tags.yml +++ b/test/fixtures/current_relation_tags.yml @@ -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' diff --git a/test/fixtures/current_relations.yml b/test/fixtures/current_relations.yml index 165f1a21e..20b035da5 100644 --- a/test/fixtures/current_relations.yml +++ b/test/fixtures/current_relations.yml @@ -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 diff --git a/test/fixtures/relation_tags.yml b/test/fixtures/relation_tags.yml index 7e671672d..65c114223 100644 --- a/test/fixtures/relation_tags.yml +++ b/test/fixtures/relation_tags.yml @@ -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' diff --git a/test/fixtures/relations.yml b/test/fixtures/relations.yml index 165f1a21e..164e222d3 100644 --- a/test/fixtures/relations.yml +++ b/test/fixtures/relations.yml @@ -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