Sha256: 78124fba363cdea7f0a6b974e811dc93c8ed633e579bfe6929d175fac585bcf6
Contents?: true
Size: 725 Bytes
Versions: 4
Compression:
Stored size: 725 Bytes
Contents
require File.join(Dir.pwd, 'spec', 'spec_helper') describe 'Experian::DataDictionary B3226' do context 'valid lookup' do it { expect( Experian::DataDictionary.lookup('B3226','Y') ).to eq('Yes') } it { expect( Experian::DataDictionary.lookup('B3226','5') ).to be_nil } it { expect( Experian::DataDictionary.lookup('B3226',' ') ).to eq('Unknown') } it { expect( Experian::DataDictionary.lookup('B3226','') ).to eq('Unknown') } end context 'invalid lookup' do it { expect( Experian::DataDictionary.lookup('B3226','TAA1') ).to be_nil } it { expect( Experian::DataDictionary.lookup('B3226','A') ).to be_nil } it { expect( Experian::DataDictionary.lookup('B3226','R') ).to be_nil } end end
Version data entries
4 entries across 4 versions & 1 rubygems