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
 
  16             w33 Thighway=residential,name=Tao Nn1,n2
 
  23         When updating osm data
 
  25             w99 Taddr:interpolation=odd Nn1,n2
 
  31             | W99:place | houses |
 
  33         Then placex contains exactly
 
  37             | W33:highway | residential |
 
  38         Then location_property_osmline contains exactly
 
  43     Scenario: Delete an existing interpolation
 
  46             n1 Taddr:housenumber=2
 
  47             n2 Taddr:housenumber=7
 
  48             w99 Taddr:interpolation=odd Nn1,n2
 
  54             | W99:place | houses |
 
  56         When updating osm data
 
  65         Then placex contains exactly
 
  69         Then location_property_osmline contains exactly
 
  70             | object | indexed_status |
 
  73     Scenario: Changing an object to an interpolation
 
  76             n1 Taddr:housenumber=3
 
  77             n2 Taddr:housenumber=17
 
  78             w33 Thighway=residential Nn1,n2
 
  79             w99 Thighway=residential Nn1,n2
 
  85             | W99:highway | residential  |
 
  87         When updating osm data
 
  89             w99 Taddr:interpolation=odd Nn1,n2
 
  95             | W99:place | houses |
 
  97         Then placex contains exactly
 
 101             | W33:highway | residential |
 
 102         And location_property_osmline contains exactly
 
 107     Scenario: Changing an interpolation to something else
 
 108         When loading osm data
 
 110             n1 Taddr:housenumber=3
 
 111             n2 Taddr:housenumber=17
 
 112             w99 Taddr:interpolation=odd Nn1,n2
 
 118             | W99:place | houses |
 
 120         When updating osm data
 
 122             w99 Thighway=residential Nn1,n2
 
 128             | W99:highway | residential  |
 
 130         Then placex contains exactly
 
 134             | W99:highway | residential  |
 
 135         And location_property_osmline contains exactly