2 Feature: Update of names in place objects
 
   3     Test all naming related issues in updates
 
   6     Scenario: Updating postcode in postcode boundaries without ref
 
   8           | osm_type | osm_id | class    | type        | postcode | geometry
 
   9           | R        | 1      | boundary | postal_code | 12345    | (0 0, 1 0, 1 1, 0 1, 0 0)
 
  11         And sending query "12345"
 
  13          | ID | osm_type | osm_id
 
  15         When updating place areas
 
  16           | osm_type | osm_id | class    | type        | postcode | geometry
 
  17           | R        | 1      | boundary | postal_code | 54321    | (0 0, 1 0, 1 1, 0 1, 0 0)
 
  18         And sending query "12345"
 
  19         Then exactly 0 results are returned
 
  20         When sending query "54321"
 
  22          | ID | osm_type | osm_id
 
  26     Scenario: Delete postcode from postcode boundaries without ref
 
  28           | osm_type | osm_id | class    | type        | postcode | geometry
 
  29           | R        | 1      | boundary | postal_code | 12345    | (0 0, 1 0, 1 1, 0 1, 0 0)
 
  31         And sending query "12345"
 
  33          | ID | osm_type | osm_id
 
  35         When updating place areas
 
  36           | osm_type | osm_id | class    | type        | geometry
 
  37           | R        | 1      | boundary | postal_code | (0 0, 1 0, 1 1, 0 1, 0 0)
 
  38         Then table placex has no entry for R1