spec/functional/B/en_B5013_spec.rb in experian-data-dictionary-1.4.4 vs spec/functional/B/en_B5013_spec.rb in experian-data-dictionary-1.4.5
- old
+ new
@@ -1,18 +1,16 @@
require File.join(Dir.pwd, 'spec', 'spec_helper')
describe 'Experian::DataDictionary b5013' do
-
context 'valid lookup' do
# it { expect( Experian::DataDictionary.lookup('b5013','') ).to eq('') }
- it { expect( Experian::DataDictionary.lookup('b5013','Y') ).to eq('Yes') }
- it { expect( Experian::DataDictionary.lookup('b5013','U') ).to eq('Unknown') }
- it { expect( Experian::DataDictionary.lookup('b5013',' ') ).to eq('Unknown') }
+ it { expect(Experian::DataDictionary.lookup('b5013', 'Y')).to eq('Yes') }
+ it { expect(Experian::DataDictionary.lookup('b5013', 'U')).to eq('Unknown') }
+ it { expect(Experian::DataDictionary.lookup('b5013', ' ')).to eq('Unknown') }
end
context 'invalid lookup' do
- it { expect( Experian::DataDictionary.lookup('b5013','A') ).to be_nil }
- it { expect( Experian::DataDictionary.lookup('b5013','F') ).to be_nil }
- it { expect( Experian::DataDictionary.lookup('b5013','0') ).to be_nil }
+ it { expect(Experian::DataDictionary.lookup('b5013', 'A')).to be_nil }
+ it { expect(Experian::DataDictionary.lookup('b5013', 'F')).to be_nil }
+ it { expect(Experian::DataDictionary.lookup('b5013', '0')).to be_nil }
end
-
-end
\ No newline at end of file
+end