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,19 +1,16 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8136' 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('8136', 'Y')).to eq('Household has indicated being dog enthusiasts') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8136', 'U')).to eq('Unknown') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8136', '')).to eq('Unknown') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8136', '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('8136', 'TAA1')).to be_nil }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('8136', 'A')).to be_nil }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8136', '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 8137' 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('8137', 'Y')).to eq('Household has indicated being cat enthusiasts') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8137', 'U')).to eq('Unknown') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8137', '')).to eq('Unknown') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8137', '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('8137', 'TAA1')).to be_nil }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('8137', 'A')).to be_nil }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8137', '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 8180' 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('8180', 'Y')).to eq('Household has self reported being active military') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8180', 'U')).to eq('Unknown') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8180', '')).to eq('Unknown') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8180', '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('8180', 'TAA1')).to be_nil }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('8180', 'A')).to be_nil }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8180', '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 8181' 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('8181', 'Y')).to eq('Household has self reported being inactive military') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8181', 'U')).to eq('Unknown') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8181', '')).to eq('Unknown') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8181', '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('8181', 'TAA1')).to be_nil }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('8181', 'A')).to be_nil }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8181', 'R')).to be_nil }
|
17
15
|
end
|
18
|
-
|
19
16
|
end
|
@@ -1,22 +1,19 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8502' 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('8502', 'Y1')).to eq('Living unit has a known to contribute to charities - Extremely Likely to contribute to charities') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8502', 'Y3')).to eq('Living unit has a known to contribute to charities - Very Likely to contribute to charities') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8502', 'Y6')).to eq('Living unit has a known to contribute to charities - Somewhat Unlikely to contribute to charities') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8502', 'Y9')).to eq('Living unit has a known to contribute to charities - Extremely Unlikely to contribute to charities') }
|
10
9
|
|
11
|
-
it { expect(
|
10
|
+
it { expect(Experian::DataDictionary.lookup('8502', ' ')).to eq('Unknown') }
|
12
11
|
end
|
13
12
|
|
14
|
-
|
15
13
|
context 'invalid lookup' do
|
16
|
-
it { expect(
|
17
|
-
it { expect(
|
18
|
-
it { expect(
|
19
|
-
it { expect(
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8502', 'A')).to eq('Unknown') }
|
15
|
+
it { expect(Experian::DataDictionary.lookup('8502', '1')).to eq('Unknown') }
|
16
|
+
it { expect(Experian::DataDictionary.lookup('8502', 'F')).to eq('Unknown') }
|
17
|
+
it { expect(Experian::DataDictionary.lookup('8502', '0')).to eq('Unknown') }
|
20
18
|
end
|
21
|
-
|
22
|
-
end
|
19
|
+
end
|
@@ -1,22 +1,19 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8503' 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('8503', 'Y1')).to eq('Living unit has a known pet enthusiast - Extremely Likely pet enthusiast') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8503', 'Y3')).to eq('Living unit has a known pet enthusiast - Very Likely pet enthusiast') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8503', 'Y6')).to eq('Living unit has a known pet enthusiast - Somewhat Unlikely pet enthusiast') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8503', 'Y9')).to eq('Living unit has a known pet enthusiast - Extremely Unlikely pet enthusiast') }
|
10
9
|
|
11
|
-
it { expect(
|
10
|
+
it { expect(Experian::DataDictionary.lookup('8503', ' ')).to eq('Unknown') }
|
12
11
|
end
|
13
12
|
|
14
|
-
|
15
13
|
context 'invalid lookup' do
|
16
|
-
it { expect(
|
17
|
-
it { expect(
|
18
|
-
it { expect(
|
19
|
-
it { expect(
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8503', 'A')).to eq('Unknown') }
|
15
|
+
it { expect(Experian::DataDictionary.lookup('8503', '1')).to eq('Unknown') }
|
16
|
+
it { expect(Experian::DataDictionary.lookup('8503', 'F')).to eq('Unknown') }
|
17
|
+
it { expect(Experian::DataDictionary.lookup('8503', '0')).to eq('Unknown') }
|
20
18
|
end
|
21
|
-
|
22
|
-
end
|
19
|
+
end
|
@@ -1,23 +1,20 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8504' do
|
4
|
-
|
5
4
|
context 'valid lookup' do
|
6
5
|
# it { expect( Experian::DataDictionary.lookup('8504','Y1') ).to eq('') }
|
7
|
-
it { expect(
|
8
|
-
it { expect(
|
9
|
-
it { expect(
|
10
|
-
it { expect(
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8504', 'U1')).to eq('Unknown - Extremely Likely interest in cultural arts') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8504', 'Y3')).to eq('Living unit has a known interest in cultural arts - Very Likely interest in cultural arts') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8504', 'Y6')).to eq('Living unit has a known interest in cultural arts - Somewhat Unlikely interest in cultural arts') }
|
9
|
+
it { expect(Experian::DataDictionary.lookup('8504', 'Y9')).to eq('Living unit has a known interest in cultural arts - Extremely Unlikely interest in cultural arts') }
|
11
10
|
|
12
|
-
it { expect(
|
11
|
+
it { expect(Experian::DataDictionary.lookup('8504', ' ')).to eq('Unknown') }
|
13
12
|
end
|
14
13
|
|
15
|
-
|
16
14
|
context 'invalid lookup' do
|
17
|
-
it { expect(
|
18
|
-
it { expect(
|
19
|
-
it { expect(
|
20
|
-
it { expect(
|
15
|
+
it { expect(Experian::DataDictionary.lookup('8504', 'A')).to eq('Unknown') }
|
16
|
+
it { expect(Experian::DataDictionary.lookup('8504', '1')).to eq('Unknown') }
|
17
|
+
it { expect(Experian::DataDictionary.lookup('8504', 'F')).to eq('Unknown') }
|
18
|
+
it { expect(Experian::DataDictionary.lookup('8504', '0')).to eq('Unknown') }
|
21
19
|
end
|
22
|
-
|
23
|
-
end
|
20
|
+
end
|
@@ -1,22 +1,19 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8505' do
|
4
|
-
|
5
4
|
context 'valid lookup' do
|
6
5
|
# it { expect( Experian::DataDictionary.lookup('8505','Y1') ).to eq('') }
|
7
|
-
it { expect(
|
8
|
-
it { expect(
|
9
|
-
it { expect(
|
10
|
-
it { expect(
|
11
|
-
it { expect(
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8505', 'Y7')).to eq('Living unit has purchased through the mail - Very Unlikely purchased through the mail') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8505', 'Y3')).to eq('Living unit has purchased through the mail - Very Likely purchased through the mail') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8505', 'Y9')).to eq('Living unit has purchased through the mail - Extremely Unlikely purchased through the mail') }
|
9
|
+
it { expect(Experian::DataDictionary.lookup('8505', 'U9')).to eq('Unknown - Extremely Unlikely purchased through the mail') }
|
10
|
+
it { expect(Experian::DataDictionary.lookup('8505', ' ')).to eq('Unknown') }
|
12
11
|
end
|
13
12
|
|
14
|
-
|
15
13
|
context 'invalid lookup' do
|
16
|
-
it { expect(
|
17
|
-
it { expect(
|
18
|
-
it { expect(
|
19
|
-
it { expect(
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8505', 'A')).to eq('Unknown') }
|
15
|
+
it { expect(Experian::DataDictionary.lookup('8505', '1')).to eq('Unknown') }
|
16
|
+
it { expect(Experian::DataDictionary.lookup('8505', 'F')).to eq('Unknown') }
|
17
|
+
it { expect(Experian::DataDictionary.lookup('8505', '0')).to eq('Unknown') }
|
20
18
|
end
|
21
|
-
|
22
|
-
end
|
19
|
+
end
|
@@ -1,19 +1,16 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8509' 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('8509', 'Y1')).to eq('Living unit has a known investor - Extremely Likely investor') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8509', 'Y5')).to eq('Living unit has a known investor - Likely investor') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8509', 'Y3')).to eq('Living unit has a known investor - Very Likely investor') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8509', 'Y2')).to eq('Living unit has a known investor - Highly Likely investor') }
|
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('8509', 'TAA1')).to eq('Unknown') }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('8509', 'A')).to eq('Unknown') }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8509', 'R')).to eq('Unknown') }
|
17
15
|
end
|
18
|
-
|
19
16
|
end
|
@@ -1,22 +1,19 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8519' do
|
4
|
-
|
5
4
|
context 'valid lookup' do
|
6
5
|
# it { expect( Experian::DataDictionary.lookup('8519','Y1') ).to eq('') }
|
7
|
-
it { expect(
|
8
|
-
it { expect(
|
9
|
-
it { expect(
|
10
|
-
it { expect(
|
11
|
-
it { expect(
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8519', 'Y7')).to eq('Living unit has a known interest in politics - Very Unlikely interest in politics') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8519', 'Y3')).to eq('Living unit has a known interest in politics - Very Likely interest in politics') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8519', 'Y9')).to eq('Living unit has a known interest in politics - Extremely Unlikely interest in politics') }
|
9
|
+
it { expect(Experian::DataDictionary.lookup('8519', 'U9')).to eq('Unknown - Extremely Unlikely interest in politics') }
|
10
|
+
it { expect(Experian::DataDictionary.lookup('8519', ' ')).to eq('Unknown') }
|
12
11
|
end
|
13
12
|
|
14
|
-
|
15
13
|
context 'invalid lookup' do
|
16
|
-
it { expect(
|
17
|
-
it { expect(
|
18
|
-
it { expect(
|
19
|
-
it { expect(
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8519', 'A')).to eq('Unknown') }
|
15
|
+
it { expect(Experian::DataDictionary.lookup('8519', '1')).to eq('Unknown') }
|
16
|
+
it { expect(Experian::DataDictionary.lookup('8519', 'F')).to eq('Unknown') }
|
17
|
+
it { expect(Experian::DataDictionary.lookup('8519', '0')).to eq('Unknown') }
|
20
18
|
end
|
21
|
-
|
22
|
-
end
|
19
|
+
end
|
@@ -1,19 +1,16 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8523' 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('8523', 'Y1')).to eq('Living unit has a known do-it-yourselfer - Extremely Likely do-it-yourselfer') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8523', 'Y5')).to eq('Living unit has a known do-it-yourselfer - Likely do-it-yourselfer') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8523', 'Y3')).to eq('Living unit has a known do-it-yourselfer - Very Likely do-it-yourselfer') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8523', 'Y2')).to eq('Living unit has a known do-it-yourselfer - Highly Likely do-it-yourselfer') }
|
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('8523', 'TAA1')).to eq('Unknown') }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('8523', 'A')).to eq('Unknown') }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8523', 'R')).to eq('Unknown') }
|
17
15
|
end
|
18
|
-
|
19
16
|
end
|
@@ -1,22 +1,19 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8525' do
|
4
|
-
|
5
4
|
context 'valid lookup' do
|
6
5
|
# it { expect( Experian::DataDictionary.lookup('8525','Y1') ).to eq('') }
|
7
|
-
it { expect(
|
8
|
-
it { expect(
|
9
|
-
it { expect(
|
10
|
-
it { expect(
|
11
|
-
it { expect(
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8525', 'Y7')).to eq('Living unit has a known interest in religion - Very Unlikely interest in religion') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8525', 'Y3')).to eq('Living unit has a known interest in religion - Very Likely interest in religion') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8525', 'Y9')).to eq('Living unit has a known interest in religion - Extremely Unlikely interest in religion') }
|
9
|
+
it { expect(Experian::DataDictionary.lookup('8525', 'U9')).to eq('Unknown - Extremely Unlikely interest in religion') }
|
10
|
+
it { expect(Experian::DataDictionary.lookup('8525', ' ')).to eq('Unknown') }
|
12
11
|
end
|
13
12
|
|
14
|
-
|
15
13
|
context 'invalid lookup' do
|
16
|
-
it { expect(
|
17
|
-
it { expect(
|
18
|
-
it { expect(
|
19
|
-
it { expect(
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8525', 'A')).to eq('Unknown') }
|
15
|
+
it { expect(Experian::DataDictionary.lookup('8525', '1')).to eq('Unknown') }
|
16
|
+
it { expect(Experian::DataDictionary.lookup('8525', 'F')).to eq('Unknown') }
|
17
|
+
it { expect(Experian::DataDictionary.lookup('8525', '0')).to eq('Unknown') }
|
20
18
|
end
|
21
|
-
|
22
|
-
end
|
19
|
+
end
|
@@ -1,22 +1,19 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8526' do
|
4
|
-
|
5
4
|
context 'valid lookup' do
|
6
5
|
# it { expect( Experian::DataDictionary.lookup('8526','Y1') ).to eq('') }
|
7
|
-
it { expect(
|
8
|
-
it { expect(
|
9
|
-
it { expect(
|
10
|
-
it { expect(
|
11
|
-
it { expect(
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8526', 'Y7')).to eq('Living unit has a known grandparent - Very Unlikely grandparent') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8526', 'Y3')).to eq('Living unit has a known grandparent - Very Likely grandparent') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8526', 'Y9')).to eq('Living unit has a known grandparent - Extremely Unlikely grandparent') }
|
9
|
+
it { expect(Experian::DataDictionary.lookup('8526', 'U9')).to eq('Unknown - Extremely Unlikely grandparent') }
|
10
|
+
it { expect(Experian::DataDictionary.lookup('8526', ' ')).to eq('Unknown') }
|
12
11
|
end
|
13
12
|
|
14
|
-
|
15
13
|
context 'invalid lookup' do
|
16
|
-
it { expect(
|
17
|
-
it { expect(
|
18
|
-
it { expect(
|
19
|
-
it { expect(
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8526', 'A')).to eq('Unknown') }
|
15
|
+
it { expect(Experian::DataDictionary.lookup('8526', '1')).to eq('Unknown') }
|
16
|
+
it { expect(Experian::DataDictionary.lookup('8526', 'F')).to eq('Unknown') }
|
17
|
+
it { expect(Experian::DataDictionary.lookup('8526', '0')).to eq('Unknown') }
|
20
18
|
end
|
21
|
-
|
22
|
-
end
|
19
|
+
end
|
@@ -1,19 +1,16 @@
|
|
1
1
|
require File.join(Dir.pwd, 'spec', 'spec_helper')
|
2
2
|
|
3
3
|
describe 'Experian::DataDictionary 8536' 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('8536', 'Y1')).to eq('Living unit has a known dog enthusiast - Extremely Likely dog enthusiast') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8536', 'Y5')).to eq('Living unit has a known dog enthusiast - Likely dog enthusiast') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8536', 'Y3')).to eq('Living unit has a known dog enthusiast - Very Likely dog enthusiast') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8536', 'Y2')).to eq('Living unit has a known dog enthusiast - Highly Likely dog enthusiast') }
|
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('8536', 'TAA1')).to eq('Unknown') }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('8536', 'A')).to eq('Unknown') }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8536', 'R')).to eq('Unknown') }
|
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 8537' 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('8537', 'Y1')).to eq('Living unit has a known cat enthusiast - Extremely Likely cat enthusiast') }
|
6
|
+
it { expect(Experian::DataDictionary.lookup('8537', 'Y5')).to eq('Living unit has a known cat enthusiast - Likely cat enthusiast') }
|
7
|
+
it { expect(Experian::DataDictionary.lookup('8537', 'Y3')).to eq('Living unit has a known cat enthusiast - Very Likely cat enthusiast') }
|
8
|
+
it { expect(Experian::DataDictionary.lookup('8537', 'Y2')).to eq('Living unit has a known cat enthusiast - Highly Likely cat enthusiast') }
|
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('8537', 'TAA1')).to eq('Unknown') }
|
13
|
+
it { expect(Experian::DataDictionary.lookup('8537', 'A')).to eq('Unknown') }
|
14
|
+
it { expect(Experian::DataDictionary.lookup('8537', 'R')).to eq('Unknown') }
|
17
15
|
end
|
18
|
-
|
19
16
|
end
|