2 Feature: Update of simple objects by osm2pgsql
3 Testing basic update functions of osm2pgsql.
5 Scenario: Import object with two main tags
8 | 1 | 'tourism' : 'hotel', 'amenity' : 'restaurant', 'name' : 'foo'
10 Then table place contains
11 | object | class | type | name
12 | N1:tourism | tourism | hotel | 'name' : 'foo'
13 | N1:amenity | amenity | restaurant | 'name' : 'foo'
16 | M | 1 | 'tourism' : 'hotel', 'name' : 'foo'
17 When updating osm data
18 Then table place has no entry for N1:amenity
19 And table place contains
20 | object | class | type | name
21 | N1:tourism | tourism | hotel | 'name' : 'foo'