experian-data-dictionary 1.4.4 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +28 -0
- data/Gemfile +3 -3
- data/Rakefile +7 -13
- data/experian_data_dictionary.gemspec +4 -4
- data/lib/element_numbers/0000/en_0000.rb +3 -3
- data/lib/element_numbers/0100/en_0100.rb +12 -12
- data/lib/element_numbers/0100/en_0103.rb +3 -2
- data/lib/element_numbers/0100/en_0107.rb +4 -3
- data/lib/element_numbers/0100/en_0108.rb +22 -11
- data/lib/element_numbers/0100/en_0110.rb +3 -2
- data/lib/element_numbers/0100/en_0112.rb +3 -2
- data/lib/element_numbers/0100/en_0113.rb +3 -2
- data/lib/element_numbers/0100/en_0118.rb +3 -2
- data/lib/element_numbers/0100/en_0119.rb +4 -4
- data/lib/element_numbers/0100/en_0130.rb +3 -2
- data/lib/element_numbers/0100/en_0131.rb +3 -2
- data/lib/element_numbers/0100/en_0132.rb +9 -7
- data/lib/element_numbers/0100/en_0133.rb +3 -2
- data/lib/element_numbers/0100/en_0134.rb +5 -5
- data/lib/element_numbers/0100/en_0135.rb +5 -5
- data/lib/element_numbers/0100/en_0136.rb +5 -5
- data/lib/element_numbers/0100/en_0137.rb +5 -5
- data/lib/element_numbers/0100/en_0138.rb +5 -5
- data/lib/element_numbers/0100/en_0139.rb +5 -5
- data/lib/element_numbers/0100/en_0140.rb +5 -5
- data/lib/element_numbers/0100/en_0141.rb +5 -5
- data/lib/element_numbers/0100/en_0155.rb +3 -3
- data/lib/element_numbers/0100/en_0156.rb +3 -3
- data/lib/element_numbers/0100/en_0160.rb +4 -5
- data/lib/element_numbers/0100/en_0161.rb +4 -5
- data/lib/element_numbers/0100/en_0162.rb +4 -4
- data/lib/element_numbers/0100/en_0164.rb +3 -3
- data/lib/element_numbers/0100/en_0174.rb +3 -3
- data/lib/element_numbers/0100/en_0177.rb +3 -3
- data/lib/element_numbers/0600/en_0601.rb +4 -3
- data/lib/element_numbers/0700/en_0711.rb +4 -4
- data/lib/element_numbers/0700/en_0715.rb +4 -5
- data/lib/element_numbers/0700/en_0716.rb +4 -4
- data/lib/element_numbers/0700/en_0717.rb +4 -4
- data/lib/element_numbers/300/en_310M.rb +3 -3
- data/lib/element_numbers/300/en_313HH.rb +0 -2
- data/lib/element_numbers/8000/en_8102.rb +3 -2
- data/lib/element_numbers/8000/en_8103.rb +3 -2
- data/lib/element_numbers/8000/en_8109.rb +3 -2
- data/lib/element_numbers/8000/en_8123.rb +3 -2
- data/lib/element_numbers/8000/en_8128.rb +3 -2
- data/lib/element_numbers/8000/en_8133.rb +3 -2
- data/lib/element_numbers/8000/en_8136.rb +3 -2
- data/lib/element_numbers/8000/en_8137.rb +3 -2
- data/lib/element_numbers/8000/en_8180.rb +3 -2
- data/lib/element_numbers/8000/en_8181.rb +3 -2
- data/lib/element_numbers/8000/en_8502.rb +8 -6
- data/lib/element_numbers/8000/en_8503.rb +8 -6
- data/lib/element_numbers/8000/en_8504.rb +8 -6
- data/lib/element_numbers/8000/en_8505.rb +8 -6
- data/lib/element_numbers/8000/en_8509.rb +8 -6
- data/lib/element_numbers/8000/en_8519.rb +8 -6
- data/lib/element_numbers/8000/en_8523.rb +8 -6
- data/lib/element_numbers/8000/en_8525.rb +8 -6
- data/lib/element_numbers/8000/en_8526.rb +9 -7
- data/lib/element_numbers/8000/en_8528.rb +8 -6
- data/lib/element_numbers/8000/en_8531.rb +8 -6
- data/lib/element_numbers/8000/en_8532.rb +8 -6
- data/lib/element_numbers/8000/en_8533.rb +10 -9
- data/lib/element_numbers/8000/en_8536.rb +8 -6
- data/lib/element_numbers/8000/en_8537.rb +8 -6
- data/lib/element_numbers/8000/en_8538.rb +8 -6
- data/lib/element_numbers/8000/en_8574.rb +8 -6
- data/lib/element_numbers/8000/en_8580.rb +8 -6
- data/lib/element_numbers/8000/en_8581.rb +8 -6
- data/lib/element_numbers/A/en_A107.rb +3 -2
- data/lib/element_numbers/B/en_B000.rb +5 -5
- data/lib/element_numbers/B/en_B2185.rb +3 -2
- data/lib/element_numbers/B/en_B3010.rb +3 -2
- data/lib/element_numbers/B/en_B3076.rb +3 -2
- data/lib/element_numbers/B/en_B3080.rb +3 -2
- data/lib/element_numbers/B/en_B3081.rb +3 -2
- data/lib/element_numbers/B/en_B3200.rb +3 -2
- data/lib/element_numbers/B/en_B3225.rb +3 -2
- data/lib/element_numbers/B/en_B3226.rb +3 -2
- data/lib/element_numbers/B/en_B3227.rb +3 -2
- data/lib/element_numbers/B/en_B3251.rb +3 -2
- data/lib/element_numbers/B/en_B5011.rb +3 -2
- data/lib/element_numbers/B/en_B5013.rb +3 -2
- data/lib/element_numbers/B/en_B5014.rb +3 -2
- data/lib/element_numbers/B/en_B5016.rb +3 -2
- data/lib/element_numbers/D/en_D105N.rb +3 -3
- data/lib/element_numbers/D/en_D105S.rb +3 -2
- data/lib/element_numbers/D/en_D200.rb +3 -3
- data/lib/element_numbers/F/en_F031.rb +3 -3
- data/lib/element_numbers/G/en_G2001.rb +5 -5
- data/lib/element_numbers/G/en_G2514.rb +3 -3
- data/lib/element_numbers/G/en_G2516.rb +3 -3
- data/lib/element_numbers/G/en_G2601.rb +3 -3
- data/lib/element_numbers/G/en_G2602.rb +3 -3
- data/lib/element_numbers/G/en_G2603.rb +3 -3
- data/lib/element_numbers/G/en_GEO6.rb +3 -3
- data/lib/element_numbers/L/en_L000.rb +4 -4
- data/lib/element_numbers/P/en_P213E.rb +4 -4
- data/lib/element_numbers/P/en_P213H.rb +21 -21
- data/lib/element_numbers/P/en_P213W.rb +4 -4
- data/lib/element_numbers/P/en_P400.rb +6 -4
- data/lib/element_numbers/T/en_T2000.rb +4 -4
- data/lib/element_numbers/V/en_V000.rb +3 -3
- data/lib/element_numbers/Y/en_Y000.rb +3 -3
- data/lib/experian.rb +10 -10
- data/spec/functional/0000/en_0000_spec.rb +13 -16
- data/spec/functional/0100/en_0100_spec.rb +13 -20
- data/spec/functional/0100/en_0103_spec.rb +9 -12
- data/spec/functional/0100/en_0107_spec.rb +10 -13
- data/spec/functional/0100/en_0108_spec.rb +411 -445
- data/spec/functional/0100/en_0110_spec.rb +11 -14
- data/spec/functional/0100/en_0112_spec.rb +7 -10
- data/spec/functional/0100/en_0113_spec.rb +12 -16
- data/spec/functional/0100/en_0118_spec.rb +11 -15
- data/spec/functional/0100/en_0119_spec.rb +7 -10
- data/spec/functional/0100/en_0130_spec.rb +8 -12
- data/spec/functional/0100/en_0131_spec.rb +9 -13
- data/spec/functional/0100/en_0132_spec.rb +4 -8
- data/spec/functional/0100/en_0133_spec.rb +4 -8
- data/spec/functional/0100/en_0134_spec.rb +15 -19
- data/spec/functional/0100/en_0135_spec.rb +15 -19
- data/spec/functional/0100/en_0136_spec.rb +15 -19
- data/spec/functional/0100/en_0137_spec.rb +14 -18
- data/spec/functional/0100/en_0138_spec.rb +14 -18
- data/spec/functional/0100/en_0139_spec.rb +14 -18
- data/spec/functional/0100/en_0140_spec.rb +14 -18
- data/spec/functional/0100/en_0141_spec.rb +14 -18
- data/spec/functional/0100/en_0155_spec.rb +7 -11
- data/spec/functional/0100/en_0156_spec.rb +7 -11
- data/spec/functional/0100/en_0160_spec.rb +8 -13
- data/spec/functional/0100/en_0161_spec.rb +8 -12
- data/spec/functional/0100/en_0162_spec.rb +7 -11
- data/spec/functional/0100/en_0164_spec.rb +9 -14
- data/spec/functional/0100/en_0174_spec.rb +8 -13
- data/spec/functional/0100/en_0177_spec.rb +7 -12
- data/spec/functional/0600/en_0601_spec.rb +7 -12
- data/spec/functional/0700/en_0711_spec.rb +10 -13
- data/spec/functional/0700/en_0715_spec.rb +11 -15
- data/spec/functional/0700/en_0716_spec.rb +11 -15
- data/spec/functional/0700/en_0717_spec.rb +11 -12
- data/spec/functional/300/en_310M_spec.rb +66 -70
- data/spec/functional/300/en_313HH_spec.rb +7 -12
- data/spec/functional/8000/en_8102_spec.rb +7 -10
- data/spec/functional/8000/en_8103_spec.rb +7 -10
- data/spec/functional/8000/en_8109_spec.rb +7 -10
- data/spec/functional/8000/en_8123_spec.rb +7 -10
- data/spec/functional/8000/en_8128_spec.rb +7 -10
- data/spec/functional/8000/en_8133_spec.rb +7 -10
- data/spec/functional/8000/en_8136_spec.rb +7 -10
- data/spec/functional/8000/en_8137_spec.rb +7 -10
- data/spec/functional/8000/en_8180_spec.rb +7 -10
- data/spec/functional/8000/en_8181_spec.rb +7 -10
- data/spec/functional/8000/en_8502_spec.rb +10 -13
- data/spec/functional/8000/en_8503_spec.rb +10 -13
- data/spec/functional/8000/en_8504_spec.rb +10 -13
- data/spec/functional/8000/en_8505_spec.rb +10 -13
- data/spec/functional/8000/en_8509_spec.rb +7 -10
- data/spec/functional/8000/en_8519_spec.rb +10 -13
- data/spec/functional/8000/en_8523_spec.rb +7 -10
- data/spec/functional/8000/en_8525_spec.rb +10 -13
- data/spec/functional/8000/en_8526_spec.rb +10 -13
- data/spec/functional/8000/en_8536_spec.rb +7 -10
- data/spec/functional/8000/en_8537_spec.rb +7 -10
- data/spec/functional/8000/en_8580_spec.rb +7 -10
- data/spec/functional/8000/en_8581_spec.rb +7 -10
- data/spec/functional/A/en_A107_spec.rb +9 -14
- data/spec/functional/B/en_B2185_spec.rb +7 -9
- data/spec/functional/B/en_B3010_spec.rb +7 -9
- data/spec/functional/B/en_B3076_spec.rb +7 -10
- data/spec/functional/B/en_B3080_spec.rb +7 -10
- data/spec/functional/B/en_B3081_spec.rb +7 -10
- data/spec/functional/B/en_B3200_spec.rb +7 -10
- data/spec/functional/B/en_B3225_spec.rb +7 -10
- data/spec/functional/B/en_B3226_spec.rb +7 -10
- data/spec/functional/B/en_B3227_spec.rb +7 -10
- data/spec/functional/B/en_B3251_spec.rb +7 -10
- data/spec/functional/B/en_B5011_spec.rb +7 -9
- data/spec/functional/B/en_B5013_spec.rb +7 -9
- data/spec/functional/B/en_B5014_spec.rb +7 -9
- data/spec/functional/B/en_B5016_spec.rb +7 -9
- data/spec/functional/D/en_D105N_spec.rb +16 -19
- data/spec/functional/D/en_D200_spec.rb +7 -10
- data/spec/functional/F/en_F031_spec.rb +11 -15
- data/spec/functional/G/en_G2001_spec.rb +8 -9
- data/spec/functional/G/en_G2514_spec.rb +9 -11
- data/spec/functional/G/en_G2516_spec.rb +9 -11
- data/spec/functional/G/en_G2602_spec.rb +8 -9
- data/spec/functional/G/en_G2603_spec.rb +10 -11
- data/spec/functional/L/en_L000_spec.rb +1 -1
- data/spec/functional/P/en_P213E_spec.rb +8 -11
- data/spec/functional/P/en_P213H_spec.rb +8 -11
- data/spec/functional/P/en_P213W_spec.rb +8 -11
- data/spec/functional/P/en_P400_spec.rb +5 -8
- data/spec/functional/T/en_T2000_spec.rb +9 -14
- data/spec/functional/V/en_V000_spec.rb +8 -10
- data/spec/functional/Y/en_Y000_spec.rb +10 -12
- data/spec/functional/experian_spec.rb +11 -14
- data/spec/spec_helper.rb +2 -2
- metadata +5 -3
@@ -1,504 +1,470 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 0108c' do
|
4
|
-
|
5
4
|
context 'valid lookup' do
|
6
|
-
it { expect(
|
7
|
-
it { expect(
|
8
|
-
it { expect(
|
9
|
-
it { expect(
|
10
|
-
it { expect(
|
11
|
-
it { expect(
|
12
|
-
it { expect(
|
13
|
-
it { expect(
|
14
|
-
it { expect(
|
15
|
-
it { expect(
|
16
|
-
it { expect(
|
17
|
-
it { expect(
|
18
|
-
it { expect(
|
19
|
-
it { expect(
|
20
|
-
it { expect(
|
21
|
-
it { expect(
|
22
|
-
it { expect(
|
23
|
-
it { expect(
|
24
|
-
it { expect(
|
25
|
-
it { expect(
|
26
|
-
it { expect(
|
5
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '00')).to eq('Unknown') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '01')).to eq('Mexico') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '02')).to eq('Cuba') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '03')).to eq('Puerto Rico') }
|
9
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '04')).to eq('Nicaragua') }
|
10
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '05')).to eq('Dominican Republic') }
|
11
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '06')).to eq('Colombia') }
|
12
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '07')).to eq('Honduras') }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '08')).to eq('Guatemala') }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '09')).to eq('El Salvador') }
|
15
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '10')).to eq('Costa Rica') }
|
16
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '11')).to eq('Panama') }
|
17
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '12')).to eq('Ecuador') }
|
18
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '13')).to eq('Venezuela') }
|
19
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '14')).to eq('Argentina') }
|
20
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '15')).to eq('Chile') }
|
21
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '16')).to eq('Peru') }
|
22
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '17')).to eq('Bolivia') }
|
23
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '18')).to eq('Uruguay') }
|
24
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '19')).to eq('Paraguay') }
|
25
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '20')).to eq('Spain') }
|
27
26
|
# Missing 21 on Documentation
|
28
|
-
it { expect(
|
29
|
-
it { expect(
|
27
|
+
it { expect(Experian::DataDictionary.lookup('0108c', '22')).to eq('Brazil') }
|
28
|
+
it { expect(Experian::DataDictionary.lookup('0108c', ' ')).to eq('Unknown') }
|
30
29
|
end
|
31
30
|
|
32
|
-
|
33
31
|
context 'invalid lookup' do
|
34
|
-
it { expect(
|
35
|
-
it { expect(
|
36
|
-
it { expect(
|
37
|
-
it { expect(
|
32
|
+
it { expect(Experian::DataDictionary.lookup('0108c', 'F')).to be_nil }
|
33
|
+
it { expect(Experian::DataDictionary.lookup('0108c', 'HE')).to be_nil }
|
34
|
+
it { expect(Experian::DataDictionary.lookup('0108c', 'GG')).to be_nil }
|
35
|
+
it { expect(Experian::DataDictionary.lookup('0108c', 'DOG')).to be_nil }
|
38
36
|
end
|
39
37
|
end
|
40
38
|
|
41
39
|
describe 'Experian::DataDictionary 0108d' do
|
42
|
-
|
43
40
|
context 'valid lookup' do
|
44
|
-
it { expect(
|
45
|
-
it { expect(
|
46
|
-
it { expect(
|
47
|
-
it { expect(
|
48
|
-
it { expect(
|
49
|
-
it { expect(
|
50
|
-
it { expect(
|
51
|
-
it { expect(
|
52
|
-
it { expect(
|
53
|
-
it { expect(
|
54
|
-
it { expect(
|
55
|
-
it { expect(
|
56
|
-
it { expect(
|
57
|
-
it { expect(
|
58
|
-
it { expect(
|
59
|
-
it { expect(
|
60
|
-
it { expect(
|
61
|
-
it { expect(
|
62
|
-
it { expect(
|
63
|
-
it { expect(
|
64
|
-
it { expect(
|
65
|
-
it { expect(
|
66
|
-
it { expect(
|
67
|
-
it { expect(
|
68
|
-
it { expect(
|
69
|
-
it { expect(
|
70
|
-
it { expect(
|
71
|
-
it { expect(
|
72
|
-
it { expect(
|
73
|
-
it { expect(
|
74
|
-
it { expect(
|
75
|
-
it { expect(
|
76
|
-
it { expect(
|
77
|
-
it { expect(
|
78
|
-
it { expect(
|
79
|
-
it { expect(
|
80
|
-
it { expect(
|
81
|
-
it { expect(
|
82
|
-
it { expect(
|
83
|
-
it { expect(
|
84
|
-
it { expect(
|
85
|
-
it { expect(
|
86
|
-
it { expect(
|
87
|
-
it { expect(
|
88
|
-
it { expect(
|
89
|
-
it { expect(
|
90
|
-
it { expect(
|
91
|
-
it { expect(
|
92
|
-
it { expect(
|
93
|
-
it { expect(
|
94
|
-
it { expect(
|
95
|
-
it { expect(
|
96
|
-
it { expect(
|
97
|
-
it { expect(
|
98
|
-
#No documentation for 54 and 55
|
99
|
-
it { expect(
|
100
|
-
it { expect(
|
101
|
-
it { expect(
|
102
|
-
it { expect(
|
103
|
-
it { expect(
|
104
|
-
it { expect(
|
105
|
-
it { expect(
|
106
|
-
it { expect(
|
107
|
-
it { expect(
|
108
|
-
it { expect(
|
109
|
-
it { expect(
|
110
|
-
it { expect(
|
111
|
-
it { expect(
|
112
|
-
#No documentation for 69
|
113
|
-
it { expect(
|
41
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '00')).to eq('Unknown') }
|
42
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '01')).to eq('English') }
|
43
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '02')).to eq('Scottish') }
|
44
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '03')).to eq('Danish') }
|
45
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '04')).to eq('Swedish') }
|
46
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '05')).to eq('Norwegian') }
|
47
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '06')).to eq('Finnish') }
|
48
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '07')).to eq('Icelandic') }
|
49
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '08')).to eq('Dutch') }
|
50
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '09')).to eq('Belgian') }
|
51
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '10')).to eq('German') }
|
52
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '11')).to eq('Austrian') }
|
53
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '12')).to eq('Hungarian') }
|
54
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '13')).to eq('Czech') }
|
55
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '14')).to eq('Slovak') }
|
56
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '15')).to eq('Irish') }
|
57
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '16')).to eq('Welsh') }
|
58
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '17')).to eq('French') }
|
59
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '18')).to eq('Swiss') }
|
60
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '19')).to eq('Italian') }
|
61
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '20')).to eq('Hispanic') }
|
62
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '21')).to eq('Portuguese') }
|
63
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '22')).to eq('Polish') }
|
64
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '23')).to eq('Estonian') }
|
65
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '24')).to eq('Latvian') }
|
66
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '25')).to eq('Lithuanian') }
|
67
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '26')).to eq('Ukrainian') }
|
68
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '27')).to eq('Georgian') }
|
69
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '28')).to eq('Byelorussian') }
|
70
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '29')).to eq('Armenian') }
|
71
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '30')).to eq('Russian') }
|
72
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '31')).to eq('Turkish') }
|
73
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '32')).to eq('Kurdish') }
|
74
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '33')).to eq('Greek') }
|
75
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '34')).to eq('Persian') }
|
76
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '35')).to eq('Moldovan') }
|
77
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '36')).to eq('Bulgarian') }
|
78
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '37')).to eq('Romanian') }
|
79
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '38')).to eq('Albanian') }
|
80
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '39')).to eq('Native American') }
|
81
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '40')).to eq('Slovenian') }
|
82
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '41')).to eq('Croatian') }
|
83
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '42')).to eq('Serbian') }
|
84
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '43')).to eq('Bosniak') }
|
85
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '44')).to eq('Azerbaijani') }
|
86
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '45')).to eq('Kazakh') }
|
87
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '46')).to eq('Afghan') }
|
88
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '47')).to eq('Pakistani') }
|
89
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '48')).to eq('Bangladeshi') }
|
90
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '49')).to eq('Indonesian') }
|
91
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '50')).to eq('Indian') }
|
92
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '51')).to eq('Burmese (Myanmar)') }
|
93
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '52')).to eq('Mongolian') }
|
94
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '53')).to eq('Chinese') }
|
95
|
+
# No documentation for 54 and 55
|
96
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '56')).to eq('Korean') }
|
97
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '57')).to eq('Japanese') }
|
98
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '58')).to eq('Thai') }
|
99
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '59')).to eq('Malay') }
|
100
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '60')).to eq('Laotian') }
|
101
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '61')).to eq('Khmer') }
|
102
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '62')).to eq('Vietnamese') }
|
103
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '63')).to eq('Sri Lankan') }
|
104
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '64')).to eq('Uzbek') }
|
105
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '65')).to eq('Other Asian') }
|
106
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '66')).to eq('Jewish') }
|
107
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '67')).to eq('Aleut') }
|
108
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '68')).to eq('Hebrew') }
|
109
|
+
# No documentation for 69
|
110
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '70')).to eq('Arab') }
|
114
111
|
# No documentation for 71
|
115
|
-
it { expect(
|
116
|
-
it { expect(
|
117
|
-
it { expect(
|
118
|
-
it { expect(
|
119
|
-
it { expect(
|
120
|
-
it { expect(
|
121
|
-
it { expect(
|
122
|
-
it { expect(
|
123
|
-
it { expect(
|
124
|
-
it { expect(
|
125
|
-
it { expect(
|
126
|
-
it { expect(
|
127
|
-
it { expect(
|
128
|
-
it { expect(
|
129
|
-
it { expect(
|
130
|
-
it { expect(
|
131
|
-
it { expect(
|
132
|
-
it { expect(
|
133
|
-
it { expect(
|
134
|
-
it { expect(
|
135
|
-
it { expect(
|
136
|
-
it { expect(
|
137
|
-
it { expect(
|
138
|
-
it { expect(
|
139
|
-
it { expect(
|
140
|
-
it { expect(
|
141
|
-
it { expect(
|
142
|
-
it { expect(
|
143
|
-
it { expect(
|
144
|
-
it { expect(
|
145
|
-
it { expect(
|
146
|
-
it { expect(
|
147
|
-
it { expect(
|
148
|
-
it { expect(
|
149
|
-
it { expect(
|
150
|
-
it { expect(
|
151
|
-
it { expect(
|
152
|
-
it { expect(
|
153
|
-
it { expect(
|
154
|
-
it { expect(
|
155
|
-
it { expect(
|
156
|
-
it { expect(
|
157
|
-
it { expect(
|
158
|
-
it { expect(
|
159
|
-
it { expect(
|
160
|
-
it { expect(
|
161
|
-
it { expect(
|
162
|
-
it { expect(
|
163
|
-
it { expect(
|
164
|
-
it { expect(
|
165
|
-
it { expect(
|
166
|
-
it { expect(
|
167
|
-
it { expect(
|
168
|
-
it { expect(
|
169
|
-
it { expect(
|
170
|
-
it { expect(
|
171
|
-
it { expect(
|
172
|
-
it { expect(
|
173
|
-
it { expect(
|
174
|
-
it { expect(
|
175
|
-
it { expect(
|
176
|
-
it { expect(
|
177
|
-
it { expect(
|
178
|
-
it { expect(
|
179
|
-
it { expect(
|
180
|
-
it { expect(
|
181
|
-
it { expect(
|
182
|
-
it { expect(
|
183
|
-
it { expect(
|
184
|
-
it { expect(
|
185
|
-
it { expect(
|
186
|
-
it { expect(
|
187
|
-
it { expect(
|
188
|
-
it { expect(
|
189
|
-
it { expect(
|
190
|
-
it { expect(
|
191
|
-
it { expect(
|
192
|
-
it { expect(
|
193
|
-
it { expect(
|
194
|
-
it { expect(
|
195
|
-
it { expect(
|
196
|
-
it { expect(
|
197
|
-
it { expect(
|
198
|
-
it { expect(
|
199
|
-
it { expect(
|
200
|
-
it { expect(
|
201
|
-
it { expect(
|
202
|
-
it { expect(
|
203
|
-
it { expect(
|
204
|
-
it { expect(
|
205
|
-
it { expect(
|
206
|
-
it { expect(
|
207
|
-
it { expect(
|
208
|
-
it { expect(
|
209
|
-
it { expect(
|
210
|
-
it { expect(
|
211
|
-
it { expect(
|
212
|
-
it { expect(
|
213
|
-
it { expect(
|
214
|
-
it { expect(
|
215
|
-
it { expect(
|
216
|
-
it { expect(
|
217
|
-
it { expect(
|
218
|
-
it { expect(
|
219
|
-
it { expect(
|
220
|
-
it { expect(
|
221
|
-
it { expect(
|
222
|
-
it { expect(
|
223
|
-
it { expect(
|
224
|
-
it { expect(
|
225
|
-
it { expect(
|
226
|
-
it { expect(
|
227
|
-
it { expect(
|
228
|
-
it { expect(
|
229
|
-
it { expect(
|
230
|
-
it { expect(
|
231
|
-
it { expect(
|
232
|
-
it { expect(
|
233
|
-
it { expect(
|
234
|
-
it { expect(
|
235
|
-
it { expect(
|
236
|
-
it { expect(
|
237
|
-
it { expect(
|
238
|
-
it { expect(
|
239
|
-
it { expect(
|
240
|
-
it { expect(
|
241
|
-
it { expect(
|
242
|
-
|
243
|
-
it { expect(
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
it { expect( Experian::DataDictionary.lookup('0108d',' ') ).to eq('Unknown') }
|
112
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '72')).to eq('Turkmen') }
|
113
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '73')).to eq('Tajik') }
|
114
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '74')).to eq('Kirghiz') }
|
115
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '75')).to eq('Saudi') }
|
116
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '76')).to eq('Iraqi') }
|
117
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '77')).to eq('Libyan') }
|
118
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '78')).to eq('Egyptian') }
|
119
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '79')).to eq('Rwandan') }
|
120
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '80')).to eq('Tongan') }
|
121
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '81')).to eq('Senegalese') }
|
122
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '82')).to eq('Malawian') }
|
123
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '83')).to eq('Sudanese') }
|
124
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '84')).to eq('Moroccan') }
|
125
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '85')).to eq('African American') }
|
126
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '86')).to eq('Kenyan') }
|
127
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '87')).to eq('Nigerian (Nigeria)') }
|
128
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '88')).to eq('Ghanaian') }
|
129
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '89')).to eq('Zambian') }
|
130
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '90')).to eq('Congolese (DRG)') }
|
131
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '91')).to eq('Surinamese') }
|
132
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '92')).to eq('Mozambican (Mozambique)') }
|
133
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '93')).to eq('Ivorian (Ivory Coast)') }
|
134
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '94')).to eq('Bhutanese') }
|
135
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '95')).to eq('Ethiopian') }
|
136
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '96')).to eq('Ugandan') }
|
137
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '97')).to eq('Batswana (Botswana)') }
|
138
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '98')).to eq('Cameroonian') }
|
139
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '99')).to eq('Zimbabwean') }
|
140
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '7A')).to eq('Hindu') }
|
141
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '7B')).to eq('Djiboutian') }
|
142
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '7C')).to eq('Manx') }
|
143
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '7D')).to eq('Telugu') }
|
144
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '7E')).to eq('Nepalese') }
|
145
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '7F')).to eq('Samoan') }
|
146
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '7G')).to eq('Mauritanian') }
|
147
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '7H')).to eq('Native American Inuit') }
|
148
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8A')).to eq('Congolese') }
|
149
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8B')).to eq('Central African (Central African Republic)') }
|
150
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8C')).to eq('Togolese') }
|
151
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8D')).to eq('Bahraini') }
|
152
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8E')).to eq('Qatari') }
|
153
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8F')).to eq('Guyanese') }
|
154
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8G')).to eq('Tibetan') }
|
155
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8H')).to eq('Fijian') }
|
156
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8I')).to eq('Swazi') }
|
157
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8J')).to eq('Zulu') }
|
158
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8K')).to eq('Xhosa') }
|
159
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8L')).to eq('Basotho') }
|
160
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8M')).to eq('South African') }
|
161
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8N')).to eq('Liberian') }
|
162
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8O')).to eq('Comoran') }
|
163
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8P')).to eq('Beninese') }
|
164
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8Q')).to eq('Burkinabe (Burkina Faso)') }
|
165
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8R')).to eq('Nigerien (Niger)') }
|
166
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8S')).to eq('Ashanti') }
|
167
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8T')).to eq('Swahili') }
|
168
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8U')).to eq('Haitian') }
|
169
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8V')).to eq('Malian') }
|
170
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8W')).to eq('Jamaican') }
|
171
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8X')).to eq('Hausa') }
|
172
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '8Y')).to eq('Pili') }
|
173
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9A')).to eq('Namibian') }
|
174
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9B')).to eq('Burundi') }
|
175
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9C')).to eq('Tanzanian') }
|
176
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9D')).to eq('Gambian') }
|
177
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9E')).to eq('Somali') }
|
178
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9F')).to eq('Macedonian') }
|
179
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9G')).to eq('Chadian') }
|
180
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9H')).to eq('Gabonese') }
|
181
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9I')).to eq('Angolan') }
|
182
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9J')).to eq('Chechen') }
|
183
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9K')).to eq('Igbo') }
|
184
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9L')).to eq('Yoruba') }
|
185
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9M')).to eq('Algerian') }
|
186
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9N')).to eq('Filipino') }
|
187
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9O')).to eq('Sotho (Lesotho)') }
|
188
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9P')).to eq('Tunisian') }
|
189
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9Q')).to eq('Hawaiian') }
|
190
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9R')).to eq('Malagasy (Madagascar)') }
|
191
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9S')).to eq('Basque') }
|
192
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9T')).to eq('Siere Leonean') }
|
193
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9U')).to eq('Kuwaiti') }
|
194
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9V')).to eq('Yemeni') }
|
195
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9W')).to eq('Guinean (Guinea-Bissau)') }
|
196
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9X')).to eq('Papua New Guinean') }
|
197
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9Y')).to eq('Equatorial Guinean') }
|
198
|
+
it { expect(Experian::DataDictionary.lookup('0108d', '9Z')).to eq('Syrian') }
|
199
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'A1')).to eq('African American (Arabic Surname), 80%+') }
|
200
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'A2')).to eq('African American (Arabic Surname), 70-79%') }
|
201
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'A3')).to eq('African American (Arabic Surname), 60-69%') }
|
202
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'A4')).to eq('African American (Arabic Surname), 50-59%') }
|
203
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'A5')).to eq('African American (Arabic Surname), 30-49%') }
|
204
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'D1')).to eq('African American (Dutch Surname), 80%+') }
|
205
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'D2')).to eq('African American (Dutch Surname), 70-79%') }
|
206
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'D3')).to eq('African American (Dutch Surname), 60-69%') }
|
207
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'D4')).to eq('African American (Dutch Surname), 50-59%') }
|
208
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'D5')).to eq('African American (Dutch Surname), 30-49%') }
|
209
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'E1')).to eq('African American (English Surname), 80%+') }
|
210
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'E2')).to eq('African American (English Surname), 70-79%') }
|
211
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'E3')).to eq('African American (English Surname), 60-69%') }
|
212
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'E4')).to eq('African American (English Surname), 50-59%') }
|
213
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'E5')).to eq('African American (English Surname), 30-49%') }
|
214
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'F1')).to eq('African American (French Surname), 80%+') }
|
215
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'F2')).to eq('African American (French Surname), 70-79%') }
|
216
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'F3')).to eq('African American (French Surname), 60-69%') }
|
217
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'F4')).to eq('African American (French Surname), 50-59%') }
|
218
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'F5')).to eq('African American (French Surname), 30-49%') }
|
219
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'I1')).to eq('African American (Irish Surname), 80%+') }
|
220
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'I2')).to eq('African American (Irish Surname), 70-79%') }
|
221
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'I3')).to eq('African American (Irish Surname), 60-69%') }
|
222
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'I4')).to eq('African American (Irish Surname), 50-59%') }
|
223
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'I5')).to eq('African American (Irish Surname), 30-49%') }
|
224
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'S1')).to eq('African American (Scotch Surname), 80%+') }
|
225
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'S2')).to eq('African American (Scotch Surname), 70-79%') }
|
226
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'S3')).to eq('African American (Scotch Surname), 60-69%') }
|
227
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'S4')).to eq('African American (Scotch Surname), 50-59%') }
|
228
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'S5')).to eq('African American (Scotch Surname), 30-49%') }
|
229
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'U1')).to eq('African American (Unknown Surname), 80%+') }
|
230
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'U2')).to eq('African American (Unknown Surname), 70-79%') }
|
231
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'U3')).to eq('African American (Unknown Surname), 60-69%') }
|
232
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'U4')).to eq('African American (Unknown Surname), 50-59%') }
|
233
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'U5')).to eq('African American (Unknown Surname), 30-49%') }
|
234
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'W1')).to eq('African American (Welsh Surname), 80%+') }
|
235
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'W2')).to eq('African American (Welsh Surname), 70-79%') }
|
236
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'W3')).to eq('African American (Welsh Surname), 60-69%') }
|
237
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'W4')).to eq('African American (Welsh Surname), 50-59%') }
|
238
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'W5')).to eq('African American (Welsh Surname), 30-49%') }
|
239
|
+
|
240
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'ZZ')).to eq('Multi-Ethnic') }
|
241
|
+
|
242
|
+
it { expect(Experian::DataDictionary.lookup('0108d', ' ')).to eq('Unknown') }
|
252
243
|
end
|
253
244
|
|
254
|
-
|
255
245
|
context 'invalid lookup' do
|
256
|
-
it { expect(
|
257
|
-
it { expect(
|
258
|
-
it { expect(
|
259
|
-
it { expect(
|
246
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'F')).to be_nil }
|
247
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'HE')).to be_nil }
|
248
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'GG')).to be_nil }
|
249
|
+
it { expect(Experian::DataDictionary.lookup('0108d', 'DOG')).to be_nil }
|
260
250
|
end
|
261
251
|
end
|
262
252
|
|
263
|
-
|
264
253
|
describe 'Experian::DataDictionary 0108e' do
|
265
|
-
|
266
254
|
context 'valid lookup' do
|
267
|
-
it { expect(
|
268
|
-
it { expect(
|
255
|
+
it { expect(Experian::DataDictionary.lookup('0108e', 'Y')).to eq('Matched to Ethnic Insight') }
|
256
|
+
it { expect(Experian::DataDictionary.lookup('0108e', ' ')).to eq('Unknown') }
|
269
257
|
end
|
270
258
|
|
271
|
-
|
272
259
|
context 'invalid lookup' do
|
273
|
-
it { expect(
|
274
|
-
it { expect(
|
275
|
-
it { expect(
|
276
|
-
it { expect(
|
260
|
+
it { expect(Experian::DataDictionary.lookup('0108e', 'F')).to be_nil }
|
261
|
+
it { expect(Experian::DataDictionary.lookup('0108e', 'HE')).to be_nil }
|
262
|
+
it { expect(Experian::DataDictionary.lookup('0108e', 'GG')).to be_nil }
|
263
|
+
it { expect(Experian::DataDictionary.lookup('0108e', 'DOG')).to be_nil }
|
277
264
|
end
|
278
|
-
|
279
265
|
end
|
280
266
|
|
281
267
|
describe 'Experian::DataDictionary 0108g' do
|
282
|
-
|
283
268
|
context 'valid lookup' do
|
284
|
-
it { expect(
|
285
|
-
it { expect(
|
286
|
-
it { expect(
|
287
|
-
it { expect(
|
288
|
-
it { expect(
|
289
|
-
it { expect(
|
290
|
-
it { expect(
|
291
|
-
it { expect(
|
292
|
-
it { expect(
|
293
|
-
it { expect(
|
294
|
-
it { expect(
|
295
|
-
it { expect(
|
296
|
-
it { expect(
|
297
|
-
it { expect(
|
298
|
-
it { expect(
|
299
|
-
it { expect(
|
300
|
-
it { expect(
|
301
|
-
it { expect(
|
302
|
-
it { expect(
|
303
|
-
it { expect(
|
304
|
-
it { expect(
|
305
|
-
it { expect(
|
306
|
-
it { expect(
|
307
|
-
it { expect(
|
308
|
-
it { expect(
|
309
|
-
it { expect(
|
310
|
-
it { expect(
|
311
|
-
it { expect(
|
312
|
-
it { expect(
|
313
|
-
it { expect(
|
314
|
-
it { expect(
|
315
|
-
it { expect(
|
316
|
-
it { expect(
|
317
|
-
|
318
|
-
it { expect(
|
269
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '01')).to eq('African') }
|
270
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '02')).to eq('African American') }
|
271
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '03')).to eq('Asian Other') }
|
272
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '04')).to eq('Chinese') }
|
273
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '05')).to eq('Czech') }
|
274
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '06')).to eq('Dutch') }
|
275
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '07')).to eq('Eastern European') }
|
276
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '08')).to eq('English') }
|
277
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '09')).to eq('French') }
|
278
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '10')).to eq('German') }
|
279
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '11')).to eq('Greek') }
|
280
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '12')).to eq('Hawaiian') }
|
281
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '13')).to eq('Hispanic') }
|
282
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '14')).to eq('Indonesian') }
|
283
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '15')).to eq('Irish') }
|
284
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '16')).to eq('Italian') }
|
285
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '17')).to eq('Japanese') }
|
286
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '18')).to eq('Jewish') }
|
287
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '19')).to eq('Korean') }
|
288
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '20')).to eq('Middle Eastern') }
|
289
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '21')).to eq('Miscellaneous Other') }
|
290
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '22')).to eq('Native American') }
|
291
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '23')).to eq('Polish') }
|
292
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '24')).to eq('Polynesian') }
|
293
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '25')).to eq('Portuguese') }
|
294
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '26')).to eq('Russian') }
|
295
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '27')).to eq('Scandinavian') }
|
296
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '28')).to eq('Scotch') }
|
297
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '29')).to eq('Swiss') }
|
298
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '30')).to eq('Ukrainian') }
|
299
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '31')).to eq('Uncoded (no group)') }
|
300
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '32')).to eq('Vietnamese') }
|
301
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '33')).to eq('Western European') }
|
302
|
+
|
303
|
+
it { expect(Experian::DataDictionary.lookup('0108g', ' ')).to eq('Unknown') }
|
319
304
|
end
|
320
305
|
|
321
|
-
|
322
306
|
context 'invalid lookup' do
|
323
|
-
it { expect(
|
324
|
-
it { expect(
|
325
|
-
it { expect(
|
326
|
-
it { expect(
|
327
|
-
it { expect(
|
307
|
+
it { expect(Experian::DataDictionary.lookup('0108g', '35')).to be_nil }
|
308
|
+
it { expect(Experian::DataDictionary.lookup('0108g', 'F')).to be_nil }
|
309
|
+
it { expect(Experian::DataDictionary.lookup('0108g', 'HE')).to be_nil }
|
310
|
+
it { expect(Experian::DataDictionary.lookup('0108g', 'GG')).to be_nil }
|
311
|
+
it { expect(Experian::DataDictionary.lookup('0108g', 'DOG')).to be_nil }
|
328
312
|
end
|
329
|
-
|
330
313
|
end
|
331
314
|
|
332
315
|
describe 'Experian::DataDictionary 0108r' do
|
333
|
-
|
334
316
|
context 'valid lookup' do
|
335
|
-
it { expect(
|
336
|
-
it { expect(
|
337
|
-
it { expect(
|
338
|
-
it { expect(
|
339
|
-
it { expect(
|
340
|
-
it { expect(
|
341
|
-
it { expect(
|
342
|
-
it { expect(
|
343
|
-
it { expect(
|
344
|
-
it { expect(
|
345
|
-
it { expect(
|
346
|
-
it { expect(
|
347
|
-
it { expect(
|
348
|
-
it { expect(
|
349
|
-
|
350
|
-
it { expect(
|
317
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'B')).to eq('Buddhist') }
|
318
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'C')).to eq('Catholic') }
|
319
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'E')).to eq('Ethiopian Orthodox') }
|
320
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'G')).to eq('Greek Orthodox') }
|
321
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'H')).to eq('Hindu') }
|
322
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'I')).to eq('Muslim') }
|
323
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'J')).to eq('Jewish') }
|
324
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'K')).to eq('Sikh') }
|
325
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'L')).to eq('Lutheran') }
|
326
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'M')).to eq('Mormon') }
|
327
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'O')).to eq('Eastern Orthodox') }
|
328
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'P')).to eq('Protestant') }
|
329
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'S')).to eq('Shinto') }
|
330
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'X')).to eq('Not Known or Unmatched') }
|
331
|
+
|
332
|
+
it { expect(Experian::DataDictionary.lookup('0108r', ' ')).to eq('Unknown') }
|
351
333
|
end
|
352
334
|
|
353
|
-
|
354
335
|
context 'invalid lookup' do
|
355
|
-
it { expect(
|
356
|
-
it { expect(
|
357
|
-
it { expect(
|
358
|
-
it { expect(
|
359
|
-
it { expect(
|
336
|
+
it { expect(Experian::DataDictionary.lookup('0108r', '35')).to be_nil }
|
337
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'F')).to be_nil }
|
338
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'HE')).to be_nil }
|
339
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'GG')).to be_nil }
|
340
|
+
it { expect(Experian::DataDictionary.lookup('0108r', 'DOG')).to be_nil }
|
360
341
|
end
|
361
|
-
|
362
342
|
end
|
363
343
|
|
364
344
|
describe 'Experian::DataDictionary 0108t' do
|
365
|
-
|
366
345
|
context 'valid lookup' do
|
367
|
-
it { expect(
|
368
|
-
it { expect(
|
369
|
-
it { expect(
|
370
|
-
it { expect(
|
371
|
-
it { expect(
|
372
|
-
it { expect(
|
373
|
-
it { expect(
|
374
|
-
it { expect(
|
375
|
-
it { expect(
|
376
|
-
it { expect(
|
377
|
-
it { expect(
|
378
|
-
it { expect(
|
379
|
-
it { expect(
|
380
|
-
it { expect(
|
381
|
-
it { expect(
|
382
|
-
it { expect(
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
it { expect( Experian::DataDictionary.lookup('0108t',' ') ).to eq('Unknown') }
|
346
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'A')).to eq('African American') }
|
347
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'B')).to eq('Southeast Asian') }
|
348
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'C')).to eq('South Asian') }
|
349
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'D')).to eq('Central Asian') }
|
350
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'E')).to eq('Mediterranean') }
|
351
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'F')).to eq('Native American') }
|
352
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'G')).to eq('Scandinavian') }
|
353
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'H')).to eq('Polynesian') }
|
354
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'I')).to eq('Middle Eastern') }
|
355
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'J')).to eq('Jewish') }
|
356
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'K')).to eq('Western European') }
|
357
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'L')).to eq('Eastern European') }
|
358
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'M')).to eq('Caribbean Non-Hispanic') }
|
359
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'N')).to eq('East Asian') }
|
360
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'O')).to eq('Hispanic') }
|
361
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'Z')).to eq('Uncoded') }
|
362
|
+
|
363
|
+
it { expect(Experian::DataDictionary.lookup('0108t', ' ')).to eq('Unknown') }
|
388
364
|
end
|
389
365
|
|
390
|
-
|
391
366
|
context 'invalid lookup' do
|
392
|
-
it { expect(
|
393
|
-
it { expect(
|
394
|
-
it { expect(
|
395
|
-
it { expect(
|
396
|
-
it { expect(
|
367
|
+
it { expect(Experian::DataDictionary.lookup('0108t', '35')).to be_nil }
|
368
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'T')).to be_nil }
|
369
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'HE')).to be_nil }
|
370
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'GG')).to be_nil }
|
371
|
+
it { expect(Experian::DataDictionary.lookup('0108t', 'DOG')).to be_nil }
|
397
372
|
end
|
398
|
-
|
399
373
|
end
|
400
374
|
|
401
|
-
|
402
|
-
|
403
375
|
describe 'Experian::DataDictionary 0108l' do
|
404
|
-
|
405
376
|
context 'valid lookup' do
|
406
|
-
|
407
|
-
it { expect(
|
408
|
-
it { expect(
|
409
|
-
it { expect(
|
410
|
-
it { expect(
|
411
|
-
it { expect(
|
412
|
-
it { expect(
|
413
|
-
it { expect(
|
414
|
-
it { expect(
|
415
|
-
it { expect(
|
416
|
-
it { expect(
|
417
|
-
it { expect(
|
418
|
-
it { expect(
|
419
|
-
it { expect(
|
420
|
-
it { expect(
|
421
|
-
it { expect(
|
422
|
-
it { expect(
|
423
|
-
it { expect(
|
424
|
-
it { expect(
|
425
|
-
it { expect(
|
426
|
-
it { expect(
|
427
|
-
it { expect(
|
428
|
-
it { expect(
|
429
|
-
it { expect(
|
430
|
-
it { expect(
|
431
|
-
it { expect(
|
432
|
-
it { expect(
|
433
|
-
it { expect(
|
434
|
-
it { expect(
|
435
|
-
it { expect(
|
436
|
-
it { expect(
|
437
|
-
it { expect(
|
438
|
-
it { expect(
|
439
|
-
it { expect(
|
440
|
-
it { expect(
|
441
|
-
it { expect(
|
442
|
-
it { expect(
|
443
|
-
it { expect(
|
444
|
-
it { expect(
|
445
|
-
it { expect(
|
446
|
-
it { expect(
|
447
|
-
it { expect(
|
448
|
-
it { expect(
|
449
|
-
it { expect(
|
450
|
-
it { expect(
|
451
|
-
it { expect(
|
452
|
-
it { expect(
|
453
|
-
it { expect(
|
454
|
-
it { expect(
|
455
|
-
it { expect(
|
456
|
-
it { expect(
|
457
|
-
it { expect(
|
458
|
-
it { expect(
|
459
|
-
it { expect(
|
460
|
-
it { expect(
|
461
|
-
it { expect(
|
462
|
-
it { expect(
|
463
|
-
it { expect(
|
464
|
-
it { expect(
|
465
|
-
it { expect(
|
466
|
-
it { expect(
|
467
|
-
it { expect(
|
468
|
-
it { expect(
|
469
|
-
it { expect(
|
470
|
-
it { expect(
|
471
|
-
it { expect(
|
472
|
-
it { expect(
|
473
|
-
it { expect(
|
474
|
-
it { expect(
|
475
|
-
it { expect(
|
476
|
-
it { expect(
|
477
|
-
it { expect(
|
478
|
-
it { expect(
|
479
|
-
it { expect(
|
480
|
-
it { expect(
|
481
|
-
it { expect(
|
482
|
-
it { expect(
|
483
|
-
it { expect(
|
484
|
-
it { expect(
|
485
|
-
it { expect(
|
486
|
-
it { expect(
|
487
|
-
it { expect(
|
488
|
-
it { expect(
|
489
|
-
it { expect(
|
490
|
-
it { expect(
|
491
|
-
it { expect( Experian::DataDictionary.lookup('0108l',' ') ).to eq('Unknown') }
|
377
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '00')).to eq('Unknown') }
|
378
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '01')).to eq('English') }
|
379
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '03')).to eq('Danish') }
|
380
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '04')).to eq('Swedish') }
|
381
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '05')).to eq('Norwegian') }
|
382
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '06')).to eq('Finnish') }
|
383
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '07')).to eq('Icelandic') }
|
384
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '08')).to eq('Dutch') }
|
385
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '09')).to eq('Flemish/Walloon') }
|
386
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '10')).to eq('German') }
|
387
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '12')).to eq('Hungarian') }
|
388
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '13')).to eq('Czech') }
|
389
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '14')).to eq('Slovak') }
|
390
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '17')).to eq('French') }
|
391
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '19')).to eq('Italian') }
|
392
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '20')).to eq('Spanish') }
|
393
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '21')).to eq('Portuguese') }
|
394
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '22')).to eq('Polish') }
|
395
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '23')).to eq('Estonian') }
|
396
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '24')).to eq('Latvian') }
|
397
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '25')).to eq('Lithuanian') }
|
398
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '27')).to eq('Georgian') }
|
399
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '29')).to eq('Armenian') }
|
400
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '30')).to eq('Russian') }
|
401
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '31')).to eq('Turkish') }
|
402
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '32')).to eq('Kurdish') }
|
403
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '33')).to eq('Greek') }
|
404
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '34')).to eq('Farsi') }
|
405
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '35')).to eq('Moldovan') }
|
406
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '36')).to eq('Bulgarian') }
|
407
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '37')).to eq('Romanian') }
|
408
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '38')).to eq('Albanian') }
|
409
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '40')).to eq('Slovenian') }
|
410
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '41')).to eq('Serbo-Croatian') }
|
411
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '44')).to eq('Azeri') }
|
412
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '45')).to eq('Kazakh') }
|
413
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '46')).to eq('Pashtu/Pashto') }
|
414
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '47')).to eq('Urdu') }
|
415
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '48')).to eq('Bengali/Bangla') }
|
416
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '49')).to eq('Bahasa Indonesia') }
|
417
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '51')).to eq('Burmese') }
|
418
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '52')).to eq('Mongolian') }
|
419
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '53')).to eq('Chinese (Mandarin, Cantonese and other dialects') }
|
420
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '56')).to eq('Korean') }
|
421
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '57')).to eq('Japanese') }
|
422
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '58')).to eq('Thai') }
|
423
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '59')).to eq('Bahasa Melayu') }
|
424
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '60')).to eq('Lao') }
|
425
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '61')).to eq('Khmer') }
|
426
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '62')).to eq('Vietnamese') }
|
427
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '63')).to eq('Sinhala') }
|
428
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '64')).to eq('Uzbek') }
|
429
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '68')).to eq('Hebrew') }
|
430
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '70')).to eq('Arabic') }
|
431
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '72')).to eq('Turkmen') }
|
432
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '73')).to eq('Tajik') }
|
433
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '74')).to eq('Kirghiz') }
|
434
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '7A')).to eq('Hindi') }
|
435
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '7E')).to eq('Nepali') }
|
436
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '7F')).to eq('Samoan') }
|
437
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '80')).to eq('Tongan') }
|
438
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '86')).to eq('Oromo') }
|
439
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '88')).to eq('Ga') }
|
440
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '8G')).to eq('Tibetan') }
|
441
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '8I')).to eq('Siswati') }
|
442
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '8J')).to eq('Zulu') }
|
443
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '8K')).to eq('Xhosa') }
|
444
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '8M')).to eq('Afrikaans') }
|
445
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '8O')).to eq('Comorian/Shikomoro') }
|
446
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '8S')).to eq('Twi (Of Ashanti Ethnicity)') }
|
447
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '8T')).to eq('Swahili') }
|
448
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '8X')).to eq('Hausa') }
|
449
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '92')).to eq('Bantu') }
|
450
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '94')).to eq('Dzongkha') }
|
451
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '95')).to eq('Amharic') }
|
452
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '97')).to eq('Tswana') }
|
453
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '9E')).to eq('Somali') }
|
454
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '9F')).to eq('Macedonian') }
|
455
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '9K')).to eq('Ibo/Igbo') }
|
456
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '9L')).to eq('Yoruba') }
|
457
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '9N')).to eq('Tagalog') }
|
458
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '9O')).to eq('Sotho') }
|
459
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '9R')).to eq('Malagasy') }
|
460
|
+
it { expect(Experian::DataDictionary.lookup('0108l', '9S')).to eq('Basque') }
|
461
|
+
it { expect(Experian::DataDictionary.lookup('0108l', ' ')).to eq('Unknown') }
|
492
462
|
end
|
493
463
|
|
494
|
-
|
495
464
|
context 'invalid lookup' do
|
496
|
-
it { expect(
|
497
|
-
it { expect(
|
498
|
-
it { expect(
|
499
|
-
it { expect(
|
465
|
+
it { expect(Experian::DataDictionary.lookup('0108l', 'F')).to be_nil }
|
466
|
+
it { expect(Experian::DataDictionary.lookup('0108l', 'HE')).to be_nil }
|
467
|
+
it { expect(Experian::DataDictionary.lookup('0108l', 'GG')).to be_nil }
|
468
|
+
it { expect(Experian::DataDictionary.lookup('0108l', 'DOG')).to be_nil }
|
500
469
|
end
|
501
470
|
end
|
502
|
-
|
503
|
-
|
504
|
-
|