Sha256: f554d04967fc11b3a40e3262f911e2256bf51f96dbae9a1f14b9ca7ac0118f66

Contents?: true

Size: 640 Bytes

Versions: 8

Compression:

Stored size: 640 Bytes

Contents

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

describe 'Experian::DataDictionary 0156' do

  context 'valid lookup' do
    it { expect( Experian::DataDictionary.lookup('0156','Y') ).to eq('Yes') }
    it { expect( Experian::DataDictionary.lookup('0156','U') ).to eq('Unknown') }
    it { expect( Experian::DataDictionary.lookup('0156',' ') ).to eq('Unknown') }

  end


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

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
experian-data-dictionary-1.4.4 spec/functional/0100/en_0156_spec.rb
experian-data-dictionary-1.4.3 spec/functional/en_0156_spec.rb
experian-data-dictionary-1.4.2 spec/functional/en_0156_spec.rb
experian-data-dictionary-1.4.1 spec/functional/en_0156_spec.rb
experian-data-dictionary-1.4 spec/functional/en_0156_spec.rb
experian-data-dictionary-1.3 spec/functional/en_0156_spec.rb
experian-data-dictionary-1.2 spec/functional/en_0156_spec.rb
experian-data-dictionary-1.0 spec/functional/en_0156_spec.rb