moj_tribunals_config 1.0.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/config/tribunals/care-standards.yml +113 -112
- data/config/tribunals/eat.yml +79 -78
- data/config/tribunals/ftt-tax.yml +99 -98
- data/config/tribunals/utiac.yml +119 -118
- data/lib/moj/tribunals/config_loader.rb +1 -1
- data/moj_tribunals_config.gemspec +2 -2
- data/spec/lib/moj/tribunals/config_loader_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ea6878f2a46f6128119a80c74469df94327f96d
|
4
|
+
data.tar.gz: 621da8ca509f4f2f01aded4f0cd2b11ce67a1f2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4add6626e932fd8e9ba2657cc35b7d37dd25a90daef4c163a1b5cdd132c204305f193f122d1f5f23aeb662ef2257fae2fe8c91943508b6a872cabcdc6da8e39a
|
7
|
+
data.tar.gz: 04e637972ef3a4a112a96b5bd360b7a62f465e1525974e3d054141d486d8cb769ceae21d84ed1394d7b1931fc45b8b35b28c785da96bdb4a46717040e2c7d4f4
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
@@ -1,112 +1,113 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
1
|
+
care-standards:
|
2
|
+
name: care-standards
|
3
|
+
title: Care Standards Tribunal
|
4
|
+
search_params:
|
5
|
+
- query
|
6
|
+
- search_field
|
7
|
+
- reported
|
8
|
+
- unreported
|
9
|
+
- country_guidance
|
10
|
+
- page
|
11
|
+
- sort_by
|
12
|
+
- judge_ids
|
13
|
+
- country_ids
|
14
|
+
- category_ids
|
15
|
+
- date_from
|
16
|
+
- date_to
|
17
|
+
allowed_snippet_tags:
|
18
|
+
- mark
|
19
|
+
- br
|
20
|
+
sort_columns:
|
21
|
+
promulgated_on:
|
22
|
+
directions:
|
23
|
+
desc:
|
24
|
+
text: Newest first
|
25
|
+
_score:
|
26
|
+
directions:
|
27
|
+
desc:
|
28
|
+
text: Relevance
|
29
|
+
date_facet_help_text: A judgement can be used as case law from the promulgation date.
|
30
|
+
facets:
|
31
|
+
category:
|
32
|
+
text: Schedule
|
33
|
+
collection: categories
|
34
|
+
ids: category_ids
|
35
|
+
all_link_text: All Schedules
|
36
|
+
help_text:
|
37
|
+
judge:
|
38
|
+
text: Chairman
|
39
|
+
collection: judges
|
40
|
+
ids: judge_ids
|
41
|
+
all_link_text: All Chairman
|
42
|
+
help_text:
|
43
|
+
table_view_properties:
|
44
|
+
appeal_number:
|
45
|
+
property: appeal_number
|
46
|
+
text: Appeal number
|
47
|
+
chairman:
|
48
|
+
property: judges
|
49
|
+
text: Chairman
|
50
|
+
formatters:
|
51
|
+
fetch:
|
52
|
+
method_name: fetch
|
53
|
+
args: "name"
|
54
|
+
applicant:
|
55
|
+
property: appellants
|
56
|
+
text: Applicant names
|
57
|
+
formatters:
|
58
|
+
fetch:
|
59
|
+
method_name: fetch
|
60
|
+
args: "name"
|
61
|
+
respondent:
|
62
|
+
property: respondents
|
63
|
+
text: Respondent names
|
64
|
+
formatters:
|
65
|
+
fetch:
|
66
|
+
method_name: fetch
|
67
|
+
args: "name"
|
68
|
+
category:
|
69
|
+
property: categories
|
70
|
+
text: Schedule
|
71
|
+
formatters:
|
72
|
+
fetch:
|
73
|
+
method_name: fetch
|
74
|
+
args: "name"
|
75
|
+
decision_date:
|
76
|
+
property: promulgated_on
|
77
|
+
text: Promulgation date
|
78
|
+
formatters:
|
79
|
+
to_date:
|
80
|
+
method_name: to_date
|
81
|
+
args:
|
82
|
+
strftime:
|
83
|
+
method_name: strftime
|
84
|
+
args: "%d/%m/%Y"
|
85
|
+
detail_view_properties:
|
86
|
+
appeal_number:
|
87
|
+
property: appeal_number
|
88
|
+
text: Appeal number
|
89
|
+
chairman:
|
90
|
+
property: judge_names
|
91
|
+
text: Chairman
|
92
|
+
applicant:
|
93
|
+
property: appellant_names
|
94
|
+
text: Applicant names
|
95
|
+
respondent:
|
96
|
+
property: respondent_names
|
97
|
+
text: Respondent names
|
98
|
+
category:
|
99
|
+
property: category_names
|
100
|
+
text: Schedule
|
101
|
+
decision_date:
|
102
|
+
property: promulgated_on
|
103
|
+
text: Promulgation date
|
104
|
+
formatters:
|
105
|
+
to_date:
|
106
|
+
method_name: to_date
|
107
|
+
args:
|
108
|
+
strftime:
|
109
|
+
method_name: strftime
|
110
|
+
args: "%d/%m/%Y"
|
111
|
+
notes:
|
112
|
+
property: notes
|
113
|
+
text: Notes
|
data/config/tribunals/eat.yml
CHANGED
@@ -1,78 +1,79 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
1
|
+
eat:
|
2
|
+
name: eat
|
3
|
+
title: Employment Access Tribunal
|
4
|
+
search_params:
|
5
|
+
- query
|
6
|
+
- search_field
|
7
|
+
- reported
|
8
|
+
- unreported
|
9
|
+
- country_guidance
|
10
|
+
- page
|
11
|
+
- sort_by
|
12
|
+
- judge_ids
|
13
|
+
- country_ids
|
14
|
+
- category_ids
|
15
|
+
- date_from
|
16
|
+
- date_to
|
17
|
+
allowed_snippet_tags:
|
18
|
+
- mark
|
19
|
+
- br
|
20
|
+
sort_columns:
|
21
|
+
promulgated_on:
|
22
|
+
directions:
|
23
|
+
desc:
|
24
|
+
text: Newest first
|
25
|
+
_score:
|
26
|
+
directions:
|
27
|
+
desc:
|
28
|
+
text: Relevance
|
29
|
+
facets:
|
30
|
+
country:
|
31
|
+
text: Country
|
32
|
+
collection: countries
|
33
|
+
ids: country_ids
|
34
|
+
all_link_text: All Countries
|
35
|
+
judge:
|
36
|
+
text: Judge
|
37
|
+
collection: judges
|
38
|
+
ids: judge_ids
|
39
|
+
all_link_text: All Judges
|
40
|
+
tabs:
|
41
|
+
reported:
|
42
|
+
text: Reported
|
43
|
+
count_method: reported_count
|
44
|
+
default: true
|
45
|
+
country_guidance:
|
46
|
+
text: Country Guidance
|
47
|
+
count_method: country_guidance_count
|
48
|
+
default: false
|
49
|
+
unreported:
|
50
|
+
text: Unreported
|
51
|
+
count_method: unreported_count
|
52
|
+
default: false
|
53
|
+
table_view_properties:
|
54
|
+
case_title:
|
55
|
+
property: case_title
|
56
|
+
text: Case title
|
57
|
+
keywords:
|
58
|
+
property: keywords
|
59
|
+
text: Keywords
|
60
|
+
promulgated_on:
|
61
|
+
property: promulgated_on
|
62
|
+
text: Promulgation date
|
63
|
+
formatters:
|
64
|
+
to_date:
|
65
|
+
method_name: to_date
|
66
|
+
args:
|
67
|
+
strftime:
|
68
|
+
method_name: strftime
|
69
|
+
args: "%d/%m/%Y"
|
70
|
+
country_name:
|
71
|
+
property: country_name
|
72
|
+
text: Country of Appellant
|
73
|
+
keywords:
|
74
|
+
property: keywords
|
75
|
+
text: keywords
|
76
|
+
detail_view_properties:
|
77
|
+
case_title:
|
78
|
+
property: case_title
|
79
|
+
text: Case title
|
@@ -1,98 +1,99 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
1
|
+
ftt-tax:
|
2
|
+
name: ftt-tax
|
3
|
+
title: Finance and Tax Tribunals
|
4
|
+
search_params:
|
5
|
+
- query
|
6
|
+
- search_field
|
7
|
+
- reported
|
8
|
+
- unreported
|
9
|
+
- country_guidance
|
10
|
+
- page
|
11
|
+
- sort_by
|
12
|
+
- judge_ids
|
13
|
+
- category_ids
|
14
|
+
- date_from
|
15
|
+
- date_to
|
16
|
+
allowed_snippet_tags:
|
17
|
+
- mark
|
18
|
+
- br
|
19
|
+
sort_columns:
|
20
|
+
promulgated_on:
|
21
|
+
directions:
|
22
|
+
desc:
|
23
|
+
text: Newest first
|
24
|
+
_score:
|
25
|
+
directions:
|
26
|
+
desc:
|
27
|
+
text: Relevance
|
28
|
+
date_facet_help_text: A judgement can be used as case law from the promulgation date.
|
29
|
+
facets:
|
30
|
+
category:
|
31
|
+
text: Category
|
32
|
+
collection: categories
|
33
|
+
ids: category_ids
|
34
|
+
all_link_text: All Categories
|
35
|
+
help_text:
|
36
|
+
judge:
|
37
|
+
text: Judge
|
38
|
+
collection: judges
|
39
|
+
ids: judge_ids
|
40
|
+
all_link_text: All Judges
|
41
|
+
help_text:
|
42
|
+
table_view_properties:
|
43
|
+
case_title:
|
44
|
+
property: case_title
|
45
|
+
text: Case title
|
46
|
+
file_number:
|
47
|
+
property: decision_number
|
48
|
+
text: File number
|
49
|
+
category:
|
50
|
+
property: category_names
|
51
|
+
text: Category
|
52
|
+
sub_category:
|
53
|
+
property: subcategory_names
|
54
|
+
text: Sub-category
|
55
|
+
promulgated_on:
|
56
|
+
property: promulgated_on
|
57
|
+
text: Promulgation date
|
58
|
+
formatters:
|
59
|
+
to_date:
|
60
|
+
method_name: to_date
|
61
|
+
args:
|
62
|
+
strftime:
|
63
|
+
method_name: strftime
|
64
|
+
args: "%d/%m/%Y"
|
65
|
+
detail_view_properties:
|
66
|
+
judges:
|
67
|
+
property: judge_names
|
68
|
+
text: Judges
|
69
|
+
appellants:
|
70
|
+
property: appellant_names
|
71
|
+
text: Appellants
|
72
|
+
respondents:
|
73
|
+
property: respondent_names
|
74
|
+
text: Respondents
|
75
|
+
category:
|
76
|
+
property: category_names
|
77
|
+
text: Category
|
78
|
+
sub_category:
|
79
|
+
property: subcategory_names
|
80
|
+
text: Sub-category
|
81
|
+
appeal_number:
|
82
|
+
property: appeal_number
|
83
|
+
text: Appeal number
|
84
|
+
file_number:
|
85
|
+
property: decision_number
|
86
|
+
text: File number
|
87
|
+
promulgated_on:
|
88
|
+
property: promulgated_on
|
89
|
+
text: Promulgation date
|
90
|
+
formatters:
|
91
|
+
to_date:
|
92
|
+
method_name: to_date
|
93
|
+
args:
|
94
|
+
strftime:
|
95
|
+
method_name: strftime
|
96
|
+
args: "%d/%m/%Y"
|
97
|
+
notes:
|
98
|
+
property: notes
|
99
|
+
text: Notes
|
data/config/tribunals/utiac.yml
CHANGED
@@ -1,118 +1,119 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
1
|
+
utiac:
|
2
|
+
name: utiac
|
3
|
+
title: Upper Tribunal Immigration and Asylum Chamber
|
4
|
+
search_params:
|
5
|
+
- query
|
6
|
+
- search_field
|
7
|
+
- reported
|
8
|
+
- unreported
|
9
|
+
- country_guidance
|
10
|
+
- page
|
11
|
+
- sort_by
|
12
|
+
- judge_ids
|
13
|
+
- country_ids
|
14
|
+
- date_from
|
15
|
+
- date_to
|
16
|
+
allowed_snippet_tags:
|
17
|
+
- mark
|
18
|
+
- br
|
19
|
+
sort_columns:
|
20
|
+
promulgated_on:
|
21
|
+
directions:
|
22
|
+
desc:
|
23
|
+
text: Newest first
|
24
|
+
_score:
|
25
|
+
directions:
|
26
|
+
desc:
|
27
|
+
text: Relevance
|
28
|
+
date_facet_help_text: A judgement can be used as case law from the promulgation date.
|
29
|
+
facets:
|
30
|
+
country:
|
31
|
+
text: Country
|
32
|
+
collection: countries
|
33
|
+
ids: country_ids
|
34
|
+
all_link_text: All Countries
|
35
|
+
help_text:
|
36
|
+
judge:
|
37
|
+
text: Judge
|
38
|
+
collection: judges
|
39
|
+
ids: judge_ids
|
40
|
+
all_link_text: All Judges
|
41
|
+
tabs:
|
42
|
+
reported:
|
43
|
+
text: Reported
|
44
|
+
count_method: reported_count
|
45
|
+
default: true
|
46
|
+
help_text:
|
47
|
+
country_guidance:
|
48
|
+
text: Country Guidance
|
49
|
+
count_method: country_guidance_count
|
50
|
+
default: false
|
51
|
+
help_text:
|
52
|
+
unreported:
|
53
|
+
text: Unreported
|
54
|
+
count_method: unreported_count
|
55
|
+
default: false
|
56
|
+
help_text:
|
57
|
+
table_view_properties:
|
58
|
+
case_title:
|
59
|
+
property: case_title
|
60
|
+
text: Case title
|
61
|
+
keywords:
|
62
|
+
property: keywords
|
63
|
+
text: Keywords
|
64
|
+
promulgated_on:
|
65
|
+
property: promulgated_on
|
66
|
+
text: Promulgation date
|
67
|
+
formatters:
|
68
|
+
to_date:
|
69
|
+
method_name: to_date
|
70
|
+
args:
|
71
|
+
strftime:
|
72
|
+
method_name: strftime
|
73
|
+
args: "%d/%m/%Y"
|
74
|
+
country_name:
|
75
|
+
property: country_name
|
76
|
+
text: Country of Appellant
|
77
|
+
keywords:
|
78
|
+
property: keywords
|
79
|
+
text: Keywords
|
80
|
+
detail_view_properties:
|
81
|
+
appeal_number:
|
82
|
+
property: appeal_number
|
83
|
+
text: Appeal number
|
84
|
+
ncn:
|
85
|
+
property: ncn
|
86
|
+
text: Neutral Citation Number
|
87
|
+
Status:
|
88
|
+
property: status
|
89
|
+
text: Status
|
90
|
+
country_name:
|
91
|
+
property: country_name
|
92
|
+
text: Country
|
93
|
+
country_guidance:
|
94
|
+
property: country_guidance
|
95
|
+
text: Used as country guidance
|
96
|
+
formatters:
|
97
|
+
present?:
|
98
|
+
method_name: present?
|
99
|
+
humanize:
|
100
|
+
method_name: humanize
|
101
|
+
keywords:
|
102
|
+
property: keywords
|
103
|
+
text: Keywords
|
104
|
+
judges:
|
105
|
+
property: judge_names
|
106
|
+
text: Judges
|
107
|
+
hearing_date:
|
108
|
+
property: hearing_date
|
109
|
+
text: Hearing Date
|
110
|
+
promulgated_on:
|
111
|
+
property: promulgated_on
|
112
|
+
text: Promulgation date
|
113
|
+
formatters:
|
114
|
+
to_date:
|
115
|
+
method_name: to_date
|
116
|
+
args:
|
117
|
+
strftime:
|
118
|
+
method_name: strftime
|
119
|
+
args: "%d/%m/%Y"
|
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: moj_tribunals_config 1.
|
5
|
+
# stub: moj_tribunals_config 1.2.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "moj_tribunals_config"
|
9
|
-
s.version = "1.
|
9
|
+
s.version = "1.2.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
@@ -76,12 +76,12 @@ describe Moj::Tribunals::ConfigLoader do
|
|
76
76
|
let(:tribunals){ [:'care-standards', :eat, :'ftt-tax', :utiac] }
|
77
77
|
|
78
78
|
it 'has a top-level key' do
|
79
|
-
expect(result.keys).to eq( tribunals )
|
79
|
+
expect(result.keys.map(&:to_sym)).to eq( tribunals )
|
80
80
|
end
|
81
81
|
|
82
82
|
it 'has second-level keys for each value in the YAML file' do
|
83
83
|
tribunals.each do |tribunal|
|
84
|
-
expect(result[tribunal].keys.map(&:to_sym)).to include( :name, :title, :search_params )
|
84
|
+
expect(result[tribunal.to_s].keys.map(&:to_sym)).to include( :name, :title, :search_params )
|
85
85
|
end
|
86
86
|
end
|
87
87
|
end
|