Sha256: bdcce4384a000759976f41a28a0669f7824a88f200c7b86976ae7bdddef1254e
Contents?: true
Size: 954 Bytes
Versions: 2
Compression:
Stored size: 954 Bytes
Contents
require File.join(Dir.pwd, 'spec', 'spec_helper') describe 'Experian::DataDictionary 0161' do context 'valid lookup' do it { expect( Experian::DataDictionary.lookup('0161','K1') ).to eq('Management/Business & Financial Operations - Known') } it { expect( Experian::DataDictionary.lookup('0161','I6') ).to eq('Blue Collar - Inferred') } it { expect( Experian::DataDictionary.lookup('0161','I4') ).to eq('Sales - Inferred') } it { expect( Experian::DataDictionary.lookup('0161','I2') ).to eq('Technical: Computers/Math & Architect/Engineering - Inferred') } it { expect( Experian::DataDictionary.lookup('0161',' ') ).to eq('Unknown') } end context 'invalid lookup' do it { expect( Experian::DataDictionary.lookup('0161','9') ).to eq('Unknown') } it { expect( Experian::DataDictionary.lookup('0161','A') ).to eq('Unknown') } it { expect( Experian::DataDictionary.lookup('0161','R') ).to eq('Unknown') } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
experian-data-dictionary-1.4.4 | spec/functional/0100/en_0161_spec.rb |
experian-data-dictionary-1.4.3 | spec/functional/en_0161_spec.rb |