Sha256: 5cd69c60f97845c06014fe6ef296a993710ac363d3932b43f2e48b6253f93f21

Contents?: true

Size: 996 Bytes

Versions: 4

Compression:

Stored size: 996 Bytes

Contents

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

describe 'Experian::DataDictionary 8537' do

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


  context 'invalid lookup' do
    it { expect( Experian::DataDictionary.lookup('8537','TAA1') ).to eq('Unknown') }
    it { expect( Experian::DataDictionary.lookup('8537','A') ).to eq('Unknown') }
    it { expect( Experian::DataDictionary.lookup('8537','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_8537_spec.rb
experian-data-dictionary-1.4.3 spec/functional/en_8537_spec.rb
experian-data-dictionary-1.4.2 spec/functional/en_8537_spec.rb
experian-data-dictionary-1.4.1 spec/functional/en_8537_spec.rb