Sha256: cad56ad36ddeeea59119c761ad71469f428f2c3a133f0fdc257eb991a5f1be97

Contents?: true

Size: 725 Bytes

Versions: 4

Compression:

Stored size: 725 Bytes

Contents

require File.join(Dir.pwd, 'spec', 'spec_helper')

describe 'Experian::DataDictionary B3076' do

  context 'valid lookup' do
    it { expect( Experian::DataDictionary.lookup('B3076','Y') ).to eq('Yes') }
    it { expect( Experian::DataDictionary.lookup('B3076','5') ).to be_nil }
    it { expect( Experian::DataDictionary.lookup('B3076',' ') ).to eq('Unknown') }
    it { expect( Experian::DataDictionary.lookup('B3076','') ).to eq('Unknown') }
  end


  context 'invalid lookup' do
    it { expect( Experian::DataDictionary.lookup('B3076','TAA1') ).to be_nil }
    it { expect( Experian::DataDictionary.lookup('B3076','A') ).to be_nil }
    it { expect( Experian::DataDictionary.lookup('B3076','R') ).to be_nil }
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
experian-data-dictionary-1.4.4 spec/functional/B/en_B3076_spec.rb
experian-data-dictionary-1.4.3 spec/functional/en_B3076_spec.rb
experian-data-dictionary-1.4.2 spec/functional/en_B3076_spec.rb
experian-data-dictionary-1.4.1 spec/functional/en_B3076_spec.rb