spec/functional/B/en_B2185_spec.rb in experian-data-dictionary-1.4.4 vs spec/functional/B/en_B2185_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 b2185' do - context 'valid lookup' do # it { expect( Experian::DataDictionary.lookup('b2185','') ).to eq('') } - it { expect( Experian::DataDictionary.lookup('b2185','Y') ).to eq('Yes') } - it { expect( Experian::DataDictionary.lookup('b2185','U') ).to eq('Unknown') } - it { expect( Experian::DataDictionary.lookup('b2185',' ') ).to eq('Unknown') } + it { expect(Experian::DataDictionary.lookup('b2185', 'Y')).to eq('Yes') } + it { expect(Experian::DataDictionary.lookup('b2185', 'U')).to eq('Unknown') } + it { expect(Experian::DataDictionary.lookup('b2185', ' ')).to eq('Unknown') } end context 'invalid lookup' do - it { expect( Experian::DataDictionary.lookup('b2185','A') ).to be_nil } - it { expect( Experian::DataDictionary.lookup('b2185','F') ).to be_nil } - it { expect( Experian::DataDictionary.lookup('b2185','0') ).to be_nil } + it { expect(Experian::DataDictionary.lookup('b2185', 'A')).to be_nil } + it { expect(Experian::DataDictionary.lookup('b2185', 'F')).to be_nil } + it { expect(Experian::DataDictionary.lookup('b2185', '0')).to be_nil } end - -end \ No newline at end of file +end