spec/functional/experian_spec.rb in experian-data-dictionary-1.4.4 vs spec/functional/experian_spec.rb in experian-data-dictionary-1.4.5
- old
+ new
@@ -1,27 +1,24 @@
require File.join(Dir.pwd, 'spec', 'spec_helper')
describe 'Experian::DataDictionary columns' do
-
context 'as strings' do
- it { expect( Experian::DataDictionary.lookup('0000', 'H') ).to eq('Household Match') }
+ it { expect(Experian::DataDictionary.lookup('0000', 'H')).to eq('Household Match') }
- it { expect( Experian::DataDictionary.lookup('0100', '198009') ).to eq('09/1980') }
- it { expect( Experian::DataDictionary.lookup('0100c', 'E99') ).to eq('99 - Exact age') }
+ it { expect(Experian::DataDictionary.lookup('0100', '198009')).to eq('09/1980') }
+ it { expect(Experian::DataDictionary.lookup('0100c', 'E99')).to eq('99 - Exact age') }
end
context 'as limited strings' do
- it { expect( Experian::DataDictionary.lookup('0', 'H') ).to eq('Household Match') }
+ it { expect(Experian::DataDictionary.lookup('0', 'H')).to eq('Household Match') }
- it { expect( Experian::DataDictionary.lookup('100', '198009') ).to eq('09/1980') }
- it { expect( Experian::DataDictionary.lookup('100c', 'E99') ).to eq('99 - Exact age') }
- end
+ it { expect(Experian::DataDictionary.lookup('100', '198009')).to eq('09/1980') }
+ it { expect(Experian::DataDictionary.lookup('100c', 'E99')).to eq('99 - Exact age') }
+ end
context 'as integers' do
- it { expect( Experian::DataDictionary.lookup(0, 'H') ).to eq('Household Match') }
+ it { expect(Experian::DataDictionary.lookup(0, 'H')).to eq('Household Match') }
- it { expect( Experian::DataDictionary.lookup(100, '198009') ).to eq('09/1980') }
- it { expect( Experian::DataDictionary.lookup(100, 198009) ).to eq('09/1980') }
- end
-
+ it { expect(Experian::DataDictionary.lookup(100, '198009')).to eq('09/1980') }
+ it { expect(Experian::DataDictionary.lookup(100, 198_009)).to eq('09/1980') }
+ end
end
-