Sha256: cd59c16ac987ac832237ffb80e3591fa44911340a7fe24ca061baceaea471fd6

Contents?: true

Size: 742 Bytes

Versions: 8

Compression:

Stored size: 742 Bytes

Contents

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

describe 'Experian::DataDictionary v000' do

  context 'valid lookup' do
    it { expect( Experian::DataDictionary.lookup('v000',' ') ).to eq('Non-match') }
    it { expect( Experian::DataDictionary.lookup('v000','Z') ).to eq('Zip Level Match') }
    it { expect( Experian::DataDictionary.lookup('v000','4') ).to eq('Zip +4 Level Match') }
  end


  context 'invalid lookup' do
    it { expect( Experian::DataDictionary.lookup('v000','F') ).to be_nil }
    it { expect( Experian::DataDictionary.lookup('v000','PE') ).to be_nil }
    it { expect( Experian::DataDictionary.lookup('v000','GG') ).to be_nil }
    it { expect( Experian::DataDictionary.lookup('v000','DOG') ).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/V/en_V000_spec.rb
experian-data-dictionary-1.4.3 spec/functional/en_V000_spec.rb
experian-data-dictionary-1.4.2 spec/functional/en_V000_spec.rb
experian-data-dictionary-1.4.1 spec/functional/en_V000_spec.rb
experian-data-dictionary-1.4 spec/functional/en_V000_spec.rb
experian-data-dictionary-1.3 spec/functional/en_V000_spec.rb
experian-data-dictionary-1.2 spec/functional/en_V000_spec.rb
experian-data-dictionary-1.0 spec/functional/en_V000_spec.rb