Sha256: b65d0b82f438f6c3ae299d62f0fb129a1fdde5b845641cabccb43b15afc19bdd

Contents?: true

Size: 996 Bytes

Versions: 4

Compression:

Stored size: 996 Bytes

Contents

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

describe 'Experian::DataDictionary 8536' do

  context 'valid lookup' do
    it { expect( Experian::DataDictionary.lookup('8536','Y1') ).to eq('Living unit has a known dog enthusiast - Extremely Likely dog enthusiast') }
    it { expect( Experian::DataDictionary.lookup('8536','Y5') ).to eq('Living unit has a known dog enthusiast - Likely dog enthusiast') }
    it { expect( Experian::DataDictionary.lookup('8536','Y3') ).to eq('Living unit has a known dog enthusiast - Very Likely dog enthusiast') }
    it { expect( Experian::DataDictionary.lookup('8536','Y2') ).to eq('Living unit has a known dog enthusiast - Highly Likely dog enthusiast') }
  end


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

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
experian-data-dictionary-1.4.4 spec/functional/8000/en_8536_spec.rb
experian-data-dictionary-1.4.3 spec/functional/en_8536_spec.rb
experian-data-dictionary-1.4.2 spec/functional/en_8536_spec.rb
experian-data-dictionary-1.4.1 spec/functional/en_8536_spec.rb