Sha256: 19eddba1c1425fcc6b6994fe60a2c56826931120c4c108af8f62540e381dc608
Contents?: true
Size: 756 Bytes
Versions: 1
Compression:
Stored size: 756 Bytes
Contents
require File.join(Dir.pwd, 'spec', 'spec_helper') describe 'Experian::DataDictionary 8102' do context 'valid lookup' do it { expect(Experian::DataDictionary.lookup('8102', 'Y')).to eq('Household has indicated they contribute to charities') } it { expect(Experian::DataDictionary.lookup('8102', 'U')).to eq('Unknown') } it { expect(Experian::DataDictionary.lookup('8102', '')).to eq('Unknown') } it { expect(Experian::DataDictionary.lookup('8102', '1')).to be_nil } end context 'invalid lookup' do it { expect(Experian::DataDictionary.lookup('8102', 'TAA1')).to be_nil } it { expect(Experian::DataDictionary.lookup('8102', 'A')).to be_nil } it { expect(Experian::DataDictionary.lookup('8102', 'R')).to be_nil } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
experian-data-dictionary-1.4.5 | spec/functional/8000/en_8102_spec.rb |