Sha256: 6c868d943bf9cc2eed17029e1f2d83b37d106b8905cc60bf4d3af14a0b243016

Contents?: true

Size: 1.04 KB

Versions: 8

Compression:

Stored size: 1.04 KB

Contents

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

describe 'Experian::DataDictionary 0715' do

  context 'valid lookup' do
    it { expect( Experian::DataDictionary.lookup('0715','1125') ).to eq('125 - Extremely Likely') }
    it { expect( Experian::DataDictionary.lookup('0715','2125') ).to eq('125 - Highly Likely') }
    it { expect( Experian::DataDictionary.lookup('0715','1100') ).to eq('100 - Extremely Likely') }
    it { expect( Experian::DataDictionary.lookup('0715','3090') ).to eq('90 - Likely') }
    it { expect( Experian::DataDictionary.lookup('0715','3085') ).to eq('85 - Likely') }


    it { expect( Experian::DataDictionary.lookup('0715',' ') ).to eq('Unknown') }
  end


  context 'invalid lookup' do
    it { expect( Experian::DataDictionary.lookup('0715','3150') ).to eq('Unknown') }
    it { expect( Experian::DataDictionary.lookup('0715','1') ).to eq('Unknown') }
    it { expect( Experian::DataDictionary.lookup('0715','F') ).to eq('Unknown') }
    it { expect( Experian::DataDictionary.lookup('0715','0') ).to eq('Unknown') }
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

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