Sha256: 5d945ebb08819e858d35a064e56437dead45b3978919a5fe72ed213819f8b6c7
Contents?: true
Size: 986 Bytes
Versions: 3
Compression:
Stored size: 986 Bytes
Contents
require File.join(Dir.pwd, 'spec', 'spec_helper') describe 'Experian::DataDictionary t200' do context 'valid lookup' do it { expect( Experian::DataDictionary.lookup('t200',' ') ).to eq('Unknown') } it { expect( Experian::DataDictionary.lookup('t200','400888') ).to eq('Zip+4 level data - 00888') } it { expect( Experian::DataDictionary.lookup('t200','L87900') ).to eq('Living unit level data - 87900') } it { expect( Experian::DataDictionary.lookup('t200','Z12333') ).to eq('Zip level data - 12333') } it { expect( Experian::DataDictionary.lookup('t200','Z') ).to eq('Unknown') } end context 'invalid lookup' do it { expect( Experian::DataDictionary.lookup('t200','F') ).to eq('Unknown') } it { expect( Experian::DataDictionary.lookup('t200','PE') ).to eq('Unknown') } it { expect( Experian::DataDictionary.lookup('t200','GG') ).to eq('Unknown') } it { expect( Experian::DataDictionary.lookup('t200','DOG') ).to eq('Unknown') } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
experian-data-dictionary-1.3 | spec/functional/en_T200_spec.rb |
experian-data-dictionary-1.2 | spec/functional/en_T200_spec.rb |
experian-data-dictionary-1.0 | spec/functional/en_T200_spec.rb |