2 Feature: Updates of address interpolation objects
 
   3     Test that changes to address interpolation objects are correctly
 
  11     Scenario: Adding a new interpolation
 
  14             n1 Taddr:housenumber=3
 
  15             n2 Taddr:housenumber=17
 
  22         When updating osm data
 
  24             w99 Taddr:interpolation=odd Nn1,n2
 
  30             | W99:place | houses |
 
  32         Then placex contains exactly
 
  36         Then location_property_osmline contains exactly
 
  41     Scenario: Delete an existing interpolation
 
  44             n1 Taddr:housenumber=2
 
  45             n2 Taddr:housenumber=7
 
  46             w99 Taddr:interpolation=odd Nn1,n2
 
  52             | W99:place | houses |
 
  54         When updating osm data
 
  63         Then placex contains exactly
 
  67         Then location_property_osmline contains exactly
 
  68             | object | indexed_status |
 
  71     Scenario: Changing an object to an interpolation
 
  74             n1 Taddr:housenumber=3
 
  75             n2 Taddr:housenumber=17
 
  76             w99 Thighway=residential Nn1,n2
 
  82             | W99:highway | residential  |
 
  84         When updating osm data
 
  86             w99 Taddr:interpolation=odd Nn1,n2
 
  92             | W99:place | houses |
 
  94         Then placex contains exactly
 
  98         And location_property_osmline contains exactly
 
 103     Scenario: Changing an interpolation to something else
 
 104         When loading osm data
 
 106             n1 Taddr:housenumber=3
 
 107             n2 Taddr:housenumber=17
 
 108             w99 Taddr:interpolation=odd Nn1,n2
 
 114             | W99:place | houses |
 
 116         When updating osm data
 
 118             w99 Thighway=residential Nn1,n2
 
 124             | W99:highway | residential  |
 
 126         Then placex contains exactly
 
 130             | W99:highway | residential  |
 
 131         And location_property_osmline contains exactly