Sha256: 292decc22fb57e39ef657c68eb8b68ac4eb8ed7a0388298892b01b29ac0fb20b
Contents?: true
Size: 1.33 KB
Versions: 8
Compression:
Stored size: 1.33 KB
Contents
require File.join(Dir.pwd, 'spec', 'spec_helper') describe 'Experian::DataDictionary 0137' do context 'valid lookup' do it { expect( Experian::DataDictionary.lookup('0137','1') ).to eq('1 Response') } it { expect( Experian::DataDictionary.lookup('0137','2') ).to eq('2 Responses') } it { expect( Experian::DataDictionary.lookup('0137','3') ).to eq('3 Responses') } it { expect( Experian::DataDictionary.lookup('0137','4') ).to eq('4 Responses') } it { expect( Experian::DataDictionary.lookup('0137','5') ).to eq('5 Responses') } it { expect( Experian::DataDictionary.lookup('0137','6') ).to eq('6 Responses') } it { expect( Experian::DataDictionary.lookup('0137','7') ).to eq('7 Responses') } it { expect( Experian::DataDictionary.lookup('0137','8') ).to eq('8 Responses') } it { expect( Experian::DataDictionary.lookup('0137','9') ).to eq('9 Responses') } it { expect( Experian::DataDictionary.lookup('0137','0') ).to eq('0 Responses') } it { expect( Experian::DataDictionary.lookup('0137',' ') ).to eq('Unknown') } end context 'invalid lookup' do it { expect( Experian::DataDictionary.lookup('0137','10') ).to eq('Unknown') } it { expect( Experian::DataDictionary.lookup('0137','21') ).to eq('Unknown') } it { expect( Experian::DataDictionary.lookup('0137','423') ).to eq('Unknown') } end end
Version data entries
8 entries across 8 versions & 1 rubygems