Sha256: 2cc7c6895ad3e7742f0a871f4885211c23912de3d895f1b8035d3ed75f32bf51

Contents?: true

Size: 551 Bytes

Versions: 1

Compression:

Stored size: 551 Bytes

Contents

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

describe 'Experian::DataDictionary p400' do
  context 'valid lookup' do
    it { expect(Experian::DataDictionary.lookup('p400', ' ')).to eq('Unknown') }
  end

  context 'invalid lookup' do
    it { expect(Experian::DataDictionary.lookup('p400', 'F')).to be_nil }
    it { expect(Experian::DataDictionary.lookup('p400', 'PE')).to be_nil }
    it { expect(Experian::DataDictionary.lookup('p400', 'GG')).to be_nil }
    it { expect(Experian::DataDictionary.lookup('p400', 'DOG')).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/P/en_P400_spec.rb