update test to hook exist? rather than exists?

bug/bundler_fix
Brent Cook 2016-04-21 06:56:48 -04:00
parent 57ab974737
commit e75ce8b248
1 changed files with 2 additions and 2 deletions

View File

@ -311,7 +311,7 @@ RSpec.describe Md5LookupUtility do
let(:opts) { subject.parse(valid_argv) }
before(:example) do
allow(File).to receive(:exists?).and_return(true)
allow(File).to receive(:exist?).and_return(true)
end
it 'returns the input file path' do
@ -330,7 +330,7 @@ RSpec.describe Md5LookupUtility do
context 'when the required input file is not set' do
before(:example) do
allow(File).to receive(:exists?).and_return(false)
allow(File).to receive(:exist?).and_return(false)
end
it 'raises an OptionParser::MissingArgument error' do