Sha256: 5e04219f8cfae13861a470f1c9f8d6e8daaf78319e6c43e7429ccd3b09ffe7ee
Contents?: true
Size: 901 Bytes
Versions: 1
Compression:
Stored size: 901 Bytes
Contents
require File.join(Dir.pwd, 'spec', 'spec_helper') describe 'Experian::DataDictionary 0160a' do context 'valid lookup' do it { expect(Experian::DataDictionary.lookup('0160a', 'K01')).to eq('Professional/Technical - Known') } it { expect(Experian::DataDictionary.lookup('0160a', 'I06')).to eq('Retired - Inferred') } it { expect(Experian::DataDictionary.lookup('0160a', 'I04')).to eq('Blue Collar - Inferred') } it { expect(Experian::DataDictionary.lookup('0160a', 'I02')).to eq('Sales/Service - Inferred') } it { expect(Experian::DataDictionary.lookup('0160a', ' ')).to eq('Unknown') } end context 'invalid lookup' do it { expect(Experian::DataDictionary.lookup('0160a', '9')).to eq('Unknown') } it { expect(Experian::DataDictionary.lookup('0160a', 'A')).to eq('Unknown') } it { expect(Experian::DataDictionary.lookup('0160a', 'R')).to eq('Unknown') } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
experian-data-dictionary-1.4.5 | spec/functional/0100/en_0160_spec.rb |