File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed
lib/time_machine/validation Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change
1
+ [
2
+ {
3
+ "select" : [
4
+ " [highway~'motorway|trunk|primary|terciary|unclassified|residential|service|living_street']"
5
+ ],
6
+ "interest" : {
7
+ "name" : null ,
8
+ "name:es" : null ,
9
+ "name:eu" : null ,
10
+ "offical_name" : null
11
+ }
12
+ }
13
+ ]
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class TestValidation < Test::Unit::TestCase
37
37
# Use the boundary polygon defined by the corresponding OSM relation id
38
38
polygon: https://polygons.openstreetmap.fr/get_geojson.py?id=349027¶ms=0.004000-0.001000-0.001000
39
39
# Tags definition in the siblings export directory
40
- osm_tags: ./export/ highway.osm_tags.json
40
+ osm_tags: ./highway.osm_tags.json
41
41
users: [] # OSM usernames, validation right on this group
42
42
YAML
43
43
@@ -50,7 +50,7 @@ def test_time_machine_deleted
50
50
deleted:
51
51
action_force: reject
52
52
YAML
53
- config = Configuration . parse ( yaml , './projects/espana_navarra /' )
53
+ config = Configuration . parse ( yaml , './test/fixtures /' )
54
54
55
55
assert_equal ( 1 , config . user_groups . size )
56
56
assert_not_empty ( config . osm_tags_matches . match ( { 'highway' => 'primary' } ) )
@@ -95,7 +95,7 @@ def test_time_machine_locha_propagate_rejection
95
95
reject: geom_changes_significant
96
96
accept: geom_changes_insignificant
97
97
YAML
98
- config = Configuration . parse ( yaml , './projects/espana_navarra /' )
98
+ config = Configuration . parse ( yaml , './test/fixtures /' )
99
99
100
100
locha = [
101
101
[ 1 , '[
You can’t perform that action at this time.
0 commit comments