Sha256: e7c896ed09edaa1d59356b42f4f6c3cc73a4a55cf8a0fe1289c7c8a66d6cd7f3
Contents?: true
Size: 722 Bytes
Versions: 8
Compression:
Stored size: 722 Bytes
Contents
require File.join(Dir.pwd, 'spec', 'spec_helper') describe 'Experian::DataDictionary b5016' do context 'valid lookup' do # it { expect( Experian::DataDictionary.lookup('b5016','') ).to eq('') } it { expect( Experian::DataDictionary.lookup('b5016','Y') ).to eq('Yes') } it { expect( Experian::DataDictionary.lookup('b5016','U') ).to eq('Unknown') } it { expect( Experian::DataDictionary.lookup('b5016',' ') ).to eq('Unknown') } end context 'invalid lookup' do it { expect( Experian::DataDictionary.lookup('b5016','A') ).to be_nil } it { expect( Experian::DataDictionary.lookup('b5016','F') ).to be_nil } it { expect( Experian::DataDictionary.lookup('b5016','0') ).to be_nil } end end
Version data entries
8 entries across 8 versions & 1 rubygems