Sha256: b7f535aab0dfae23cb382e7f79a19d8db9a5eff691cded10722b8e837b7c0369
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 0135' do context 'valid lookup' do it { expect( Experian::DataDictionary.lookup('0135','1') ).to eq('1 Response') } it { expect( Experian::DataDictionary.lookup('0135','2') ).to eq('2 Responses') } it { expect( Experian::DataDictionary.lookup('0135','3') ).to eq('3 Responses') } it { expect( Experian::DataDictionary.lookup('0135','4') ).to eq('4 Responses') } it { expect( Experian::DataDictionary.lookup('0135','5') ).to eq('5 Responses') } it { expect( Experian::DataDictionary.lookup('0135','6') ).to eq('6 Responses') } it { expect( Experian::DataDictionary.lookup('0135','7') ).to eq('7 Responses') } it { expect( Experian::DataDictionary.lookup('0135','8') ).to eq('8 Responses') } it { expect( Experian::DataDictionary.lookup('0135','9') ).to eq('9 Responses') } it { expect( Experian::DataDictionary.lookup('0135','0') ).to eq('0 Responses') } it { expect( Experian::DataDictionary.lookup('0135',' ') ).to eq('Unknown') } end context 'invalid lookup' do it { expect( Experian::DataDictionary.lookup('0135','10') ).to eq('Unknown') } it { expect( Experian::DataDictionary.lookup('0135','21') ).to eq('Unknown') } it { expect( Experian::DataDictionary.lookup('0135','423') ).to eq('Unknown') } end end
Version data entries
8 entries across 8 versions & 1 rubygems