Sha256: dba441adff13aa2dcd546e55ab47da0868e061f4ab6c1861b12b20a826ad5fda
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
experian-data-dictionary-1.4.5 | spec/functional/0700/en_0715_spec.rb |