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