Include pass through for other exist? calls

This commit is contained in:
Chris Roberts 2021-10-29 09:30:23 -07:00
parent 5d24b91f70
commit 4341d1b45c

View File

@ -131,6 +131,7 @@ describe VagrantPlugins::ProviderVirtualBox::Action::Network do
let(:file_contents) { [""] }
before do
allow(File).to receive(:exist?).and_call_original
allow(File).to receive(:exist?).
with(described_class.const_get(:VBOX_NET_CONF)).
and_return(true)