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,24 +1,20 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 0715' do
|
4
|
-
|
5
4
|
context 'valid lookup' do
|
6
|
-
it { expect(
|
7
|
-
it { expect(
|
8
|
-
it { expect(
|
9
|
-
it { expect(
|
10
|
-
it { expect(
|
11
|
-
|
5
|
+
it { expect(Experian::DataDictionary.lookup('0715', '1125')).to eq('125 - Extremely Likely') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('0715', '2125')).to eq('125 - Highly Likely') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('0715', '1100')).to eq('100 - Extremely Likely') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('0715', '3090')).to eq('90 - Likely') }
|
9
|
+
it { expect(Experian::DataDictionary.lookup('0715', '3085')).to eq('85 - Likely') }
|
12
10
|
|
13
|
-
it { expect(
|
11
|
+
it { expect(Experian::DataDictionary.lookup('0715', ' ')).to eq('Unknown') }
|
14
12
|
end
|
15
13
|
|
16
|
-
|
17
14
|
context 'invalid lookup' do
|
18
|
-
it { expect(
|
19
|
-
it { expect(
|
20
|
-
it { expect(
|
21
|
-
it { expect(
|
15
|
+
it { expect(Experian::DataDictionary.lookup('0715', '3150')).to eq('Unknown') }
|
16
|
+
it { expect(Experian::DataDictionary.lookup('0715', '1')).to eq('Unknown') }
|
17
|
+
it { expect(Experian::DataDictionary.lookup('0715', 'F')).to eq('Unknown') }
|
18
|
+
it { expect(Experian::DataDictionary.lookup('0715', '0')).to eq('Unknown') }
|
22
19
|
end
|
23
|
-
|
24
|
-
end
|
20
|
+
end
|
@@ -1,24 +1,20 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 0716' do
|
4
|
-
|
5
4
|
context 'valid lookup' do
|
6
|
-
it { expect(
|
7
|
-
it { expect(
|
8
|
-
it { expect(
|
9
|
-
it { expect(
|
10
|
-
it { expect(
|
11
|
-
|
5
|
+
it { expect(Experian::DataDictionary.lookup('0716', '1A')).to eq('1 - 199 - Extremely Likely') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('0716', '2B')).to eq('200 - 299 - Highly Likely') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('0716', '1F')).to eq('600 - 699 - Extremely Likely') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('0716', '3N')).to eq('2000+ - Likely') }
|
9
|
+
it { expect(Experian::DataDictionary.lookup('0716', '3U')).to eq('Unknown') }
|
12
10
|
|
13
|
-
it { expect(
|
11
|
+
it { expect(Experian::DataDictionary.lookup('0716', ' ')).to eq('Unknown') }
|
14
12
|
end
|
15
13
|
|
16
|
-
|
17
14
|
context 'invalid lookup' do
|
18
|
-
it { expect(
|
19
|
-
it { expect(
|
20
|
-
it { expect(
|
21
|
-
it { expect(
|
15
|
+
it { expect(Experian::DataDictionary.lookup('0716', '3150')).to eq('Unknown') }
|
16
|
+
it { expect(Experian::DataDictionary.lookup('0716', '1')).to eq('Unknown') }
|
17
|
+
it { expect(Experian::DataDictionary.lookup('0716', 'F')).to eq('Unknown') }
|
18
|
+
it { expect(Experian::DataDictionary.lookup('0716', '0')).to eq('Unknown') }
|
22
19
|
end
|
23
|
-
|
24
|
-
end
|
20
|
+
end
|
@@ -1,22 +1,21 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 0717' do
|
4
|
-
|
5
4
|
context 'valid lookup' do
|
6
|
-
it { expect(
|
7
|
-
it { expect(
|
5
|
+
it { expect(Experian::DataDictionary.column_name('0717')).to eq('Estimated Current Mortgage Amount Ranges') }
|
6
|
+
it { expect(Experian::DataDictionary.column_name('717')).to eq('Estimated Current Mortgage Amount Ranges') }
|
8
7
|
|
9
|
-
it { expect(
|
10
|
-
it { expect(
|
11
|
-
it { expect(
|
12
|
-
it { expect(
|
13
|
-
it { expect(
|
8
|
+
it { expect(Experian::DataDictionary.lookup('0717', '1A')).to eq('1,000 - 9,999 - Extremely Likely') }
|
9
|
+
it { expect(Experian::DataDictionary.lookup('0717', '3P')).to eq('1,000,000 - + - Likely') }
|
10
|
+
it { expect(Experian::DataDictionary.lookup('0717', '3F')).to eq('80,000 - 99,999 - Likely') }
|
11
|
+
it { expect(Experian::DataDictionary.lookup('0717', '2N')).to eq('450,000 - 749,999 - Highly Likely') }
|
12
|
+
it { expect(Experian::DataDictionary.lookup('0717', ' ')).to eq('Unknown') }
|
14
13
|
end
|
15
14
|
|
16
15
|
context 'invalid lookup' do
|
17
|
-
it { expect(
|
18
|
-
it { expect(
|
19
|
-
it { expect(
|
20
|
-
it { expect(
|
16
|
+
it { expect(Experian::DataDictionary.lookup('0717', 'A')).to eq('Unknown') }
|
17
|
+
it { expect(Experian::DataDictionary.lookup('0717', '1')).to eq('Unknown') }
|
18
|
+
it { expect(Experian::DataDictionary.lookup('0717', 'F')).to eq('Unknown') }
|
19
|
+
it { expect(Experian::DataDictionary.lookup('0717', '0')).to eq('Unknown') }
|
21
20
|
end
|
22
21
|
end
|
@@ -1,78 +1,74 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 310m' 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(
|
27
|
-
it { expect(
|
28
|
-
it { expect(
|
29
|
-
it { expect(
|
30
|
-
it { expect(
|
31
|
-
it { expect(
|
32
|
-
it { expect(
|
33
|
-
it { expect(
|
34
|
-
it { expect(
|
35
|
-
it { expect(
|
36
|
-
it { expect(
|
37
|
-
it { expect(
|
38
|
-
it { expect(
|
39
|
-
it { expect(
|
40
|
-
it { expect(
|
41
|
-
it { expect(
|
42
|
-
it { expect(
|
43
|
-
it { expect(
|
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
|
-
|
5
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'A01')).to eq('Americas Wealthiest') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'A02')).to eq('Dream Weavers') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'A03')).to eq('White-collar Suburbia') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'A04')).to eq('Upscale Suburbanites') }
|
9
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'A05')).to eq('Enterprising Couples') }
|
10
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'A06')).to eq('Small-town Success') }
|
11
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'A07')).to eq('New Suburbia Families') }
|
12
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'B01')).to eq('Status-conscious Consumers') }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'B02')).to eq('Affluent Urban Professionals') }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'B03')).to eq('Urban Commuter Families') }
|
15
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'B04')).to eq('Solid Suburban Life') }
|
16
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'B05')).to eq('Second-generation Success') }
|
17
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'B06')).to eq('Successful Suburbia') }
|
18
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'C01')).to eq('Second City Homebodies') }
|
19
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'C02')).to eq('Prime Middle America') }
|
20
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'C03')).to eq('Suburban Optimists') }
|
21
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'C04')).to eq('Family Convenience') }
|
22
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'C05')).to eq('Mid-market Enterprise') }
|
23
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'D01')).to eq('Nuevo Hispanic Families') }
|
24
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'D02')).to eq('Working Rural Communities') }
|
25
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'D03')).to eq('Lower-income Essentials') }
|
26
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'D04')).to eq('Small-city Endeavors') }
|
27
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'E01')).to eq('Ethnic Urban Mix') }
|
28
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'E02')).to eq('Urban Blues') }
|
29
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'E03')).to eq('Professional Urbanites') }
|
30
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'E04')).to eq('Suburban Advantage') }
|
31
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'E05')).to eq('American Great Outdoors') }
|
32
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'E06')).to eq('Mature America') }
|
33
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'F01')).to eq('Steadfast Conservative') }
|
34
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'F02')).to eq('Moderate Conventionalists') }
|
35
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'F03')).to eq('Southern Blues') }
|
36
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'F04')).to eq('Urban Grit') }
|
37
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'F05')).to eq('Grass-roots Living') }
|
38
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'G01')).to eq('Hardy Rural Families') }
|
39
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'G02')).to eq('Rural Southern Living') }
|
40
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'G03')).to eq('Coal and Crops') }
|
41
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'G04')).to eq('Native Americana') }
|
42
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'H01')).to eq('Young Cosmopolitans') }
|
43
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'H02')).to eq('Minority Metro Communities') }
|
44
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'H03')).to eq('Stable Careers') }
|
45
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'H04')).to eq('Aspiring Hispania') }
|
46
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'I01')).to eq('Industrious Country Living') }
|
47
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'I02')).to eq('Americas Farmlands') }
|
48
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'I03')).to eq('Comfy Country Living') }
|
49
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'I04')).to eq('Small-town Connections') }
|
50
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'I05')).to eq('Hinterland Families') }
|
51
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'J01')).to eq('Rugged Rural Style') }
|
52
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'J02')).to eq('Latino Nuevo') }
|
53
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'J03')).to eq('Struggling City Centers') }
|
54
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'J04')).to eq('College Town Communities') }
|
55
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'J05')).to eq('Metro Beginnings') }
|
56
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'K01')).to eq('Unattached Multi-cultures') }
|
57
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'K02')).to eq('Academic Influences') }
|
58
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'K03')).to eq('African-American Neighborhoods') }
|
59
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'K04')).to eq('Urban Diversity') }
|
60
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'K05')).to eq('New Generation Activists') }
|
61
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'K06')).to eq('Getting By') }
|
62
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'L01')).to eq('Military Family Life') }
|
63
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'L02')).to eq('Major University Towns') }
|
64
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'L03')).to eq('Gray Perspectives') }
|
65
|
+
it { expect(Experian::DataDictionary.lookup('310m', ' ')).to eq('Unknown') }
|
68
66
|
end
|
69
67
|
|
70
|
-
|
71
68
|
context 'invalid lookup' do
|
72
|
-
it { expect(
|
73
|
-
it { expect(
|
74
|
-
it { expect(
|
75
|
-
it { expect(
|
69
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'A')).to be_nil }
|
70
|
+
it { expect(Experian::DataDictionary.lookup('310m', '1')).to be_nil }
|
71
|
+
it { expect(Experian::DataDictionary.lookup('310m', 'F')).to be_nil }
|
72
|
+
it { expect(Experian::DataDictionary.lookup('310m', '0')).to be_nil }
|
76
73
|
end
|
77
|
-
|
78
|
-
end
|
74
|
+
end
|
@@ -1,21 +1,16 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 313HH' do
|
4
|
-
|
5
4
|
context 'valid lookup' do
|
6
|
-
it { expect(
|
7
|
-
it { expect(
|
8
|
-
it { expect(
|
9
|
-
it { expect(
|
10
|
-
|
11
|
-
|
5
|
+
it { expect(Experian::DataDictionary.lookup('313HH', 'A01')).to eq('American Royalty') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('313HH', 'B07')).to eq('Generational Soup') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('313HH', 'D15')).to eq('Sports Utility Families') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('313HH', 'J34')).to eq('Aging in Place') }
|
12
9
|
end
|
13
10
|
|
14
|
-
|
15
11
|
context 'invalid lookup' do
|
16
|
-
it { expect(
|
17
|
-
it { expect(
|
18
|
-
it { expect(
|
12
|
+
it { expect(Experian::DataDictionary.lookup('313HH', 'TAA1')).to be_nil }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('313HH', 'A')).to be_nil }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('313HH', 'R')).to be_nil }
|
19
15
|
end
|
20
|
-
|
21
16
|
end
|
@@ -1,19 +1,16 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8102' do
|
4
|
-
|
5
4
|
context 'valid lookup' do
|
6
|
-
it { expect(
|
7
|
-
it { expect(
|
8
|
-
it { expect(
|
9
|
-
it { expect(
|
5
|
+
it { expect(Experian::DataDictionary.lookup('8102', 'Y')).to eq('Household has indicated they contribute to charities') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8102', 'U')).to eq('Unknown') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8102', '')).to eq('Unknown') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8102', '1')).to be_nil }
|
10
9
|
end
|
11
10
|
|
12
|
-
|
13
11
|
context 'invalid lookup' do
|
14
|
-
it { expect(
|
15
|
-
it { expect(
|
16
|
-
it { expect(
|
12
|
+
it { expect(Experian::DataDictionary.lookup('8102', 'TAA1')).to be_nil }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('8102', 'A')).to be_nil }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8102', 'R')).to be_nil }
|
17
15
|
end
|
18
|
-
|
19
16
|
end
|
@@ -1,19 +1,16 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8103' do
|
4
|
-
|
5
4
|
context 'valid lookup' do
|
6
|
-
it { expect(
|
7
|
-
it { expect(
|
8
|
-
it { expect(
|
9
|
-
it { expect(
|
5
|
+
it { expect(Experian::DataDictionary.lookup('8103', 'Y')).to eq('Household has indicated being a pet enthusiast') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8103', 'U')).to eq('Unknown') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8103', '')).to eq('Unknown') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8103', '1')).to be_nil }
|
10
9
|
end
|
11
10
|
|
12
|
-
|
13
11
|
context 'invalid lookup' do
|
14
|
-
it { expect(
|
15
|
-
it { expect(
|
16
|
-
it { expect(
|
12
|
+
it { expect(Experian::DataDictionary.lookup('8103', 'TAA1')).to be_nil }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('8103', 'A')).to be_nil }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8103', 'R')).to be_nil }
|
17
15
|
end
|
18
|
-
|
19
16
|
end
|
@@ -1,19 +1,16 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8109' do
|
4
|
-
|
5
4
|
context 'valid lookup' do
|
6
|
-
it { expect(
|
7
|
-
it { expect(
|
8
|
-
it { expect(
|
9
|
-
it { expect(
|
5
|
+
it { expect(Experian::DataDictionary.lookup('8109', 'Y')).to eq('Household has indicated an interest in investing') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8109', 'U')).to eq('Unknown') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8109', '')).to eq('Unknown') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8109', '1')).to be_nil }
|
10
9
|
end
|
11
10
|
|
12
|
-
|
13
11
|
context 'invalid lookup' do
|
14
|
-
it { expect(
|
15
|
-
it { expect(
|
16
|
-
it { expect(
|
12
|
+
it { expect(Experian::DataDictionary.lookup('8109', 'TAA1')).to be_nil }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('8109', 'A')).to be_nil }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8109', 'R')).to be_nil }
|
17
15
|
end
|
18
|
-
|
19
16
|
end
|
@@ -1,19 +1,16 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8123' do
|
4
|
-
|
5
4
|
context 'valid lookup' do
|
6
|
-
it { expect(
|
7
|
-
it { expect(
|
8
|
-
it { expect(
|
9
|
-
it { expect(
|
5
|
+
it { expect(Experian::DataDictionary.lookup('8123', 'Y')).to eq('Household has indicated a do-it-yourselfer') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8123', 'U')).to eq('Unknown') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8123', '')).to eq('Unknown') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8123', '1')).to be_nil }
|
10
9
|
end
|
11
10
|
|
12
|
-
|
13
11
|
context 'invalid lookup' do
|
14
|
-
it { expect(
|
15
|
-
it { expect(
|
16
|
-
it { expect(
|
12
|
+
it { expect(Experian::DataDictionary.lookup('8123', 'TAA1')).to be_nil }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('8123', 'A')).to be_nil }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8123', 'R')).to be_nil }
|
17
15
|
end
|
18
|
-
|
19
16
|
end
|
@@ -1,19 +1,16 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8128' do
|
4
|
-
|
5
4
|
context 'valid lookup' do
|
6
|
-
it { expect(
|
7
|
-
it { expect(
|
8
|
-
it { expect(
|
9
|
-
it { expect(
|
5
|
+
it { expect(Experian::DataDictionary.lookup('8128', 'Y')).to eq('Household has indicated donating to environmental causes') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8128', 'U')).to eq('Unknown') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8128', '')).to eq('Unknown') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8128', '1')).to be_nil }
|
10
9
|
end
|
11
10
|
|
12
|
-
|
13
11
|
context 'invalid lookup' do
|
14
|
-
it { expect(
|
15
|
-
it { expect(
|
16
|
-
it { expect(
|
12
|
+
it { expect(Experian::DataDictionary.lookup('8128', 'TAA1')).to be_nil }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('8128', 'A')).to be_nil }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8128', 'R')).to be_nil }
|
17
15
|
end
|
18
|
-
|
19
16
|
end
|
@@ -1,19 +1,16 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8133' do
|
4
|
-
|
5
4
|
context 'valid lookup' do
|
6
|
-
it { expect(
|
7
|
-
it { expect(
|
8
|
-
it { expect(
|
9
|
-
it { expect(
|
5
|
+
it { expect(Experian::DataDictionary.lookup('8133', 'Y')).to eq('Household has indicated being a mail order multibuyer') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8133', 'U')).to eq('Unknown') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8133', '')).to eq('Unknown') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8133', '1')).to be_nil }
|
10
9
|
end
|
11
10
|
|
12
|
-
|
13
11
|
context 'invalid lookup' do
|
14
|
-
it { expect(
|
15
|
-
it { expect(
|
16
|
-
it { expect(
|
12
|
+
it { expect(Experian::DataDictionary.lookup('8133', 'TAA1')).to be_nil }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('8133', 'A')).to be_nil }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8133', 'R')).to be_nil }
|
17
15
|
end
|
18
|
-
|
19
16
|
end
|