Fix up NFS test to ignore smb capability requests

This commit is contained in:
Chris Roberts 2017-12-21 10:05:50 -08:00
parent 3fd9f44921
commit aabf4d689c
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ describe VagrantPlugins::ProviderVirtualBox::Action::PrepareNFSSettings do
env[:test] = true
allow(machine.env).to receive(:host) { host }
allow(host).to receive(:capability).with(:nfs_installed) { true }
# We don't care about smb support so return not installed
allow(host).to receive(:capability?).with(:smb_installed).and_return(false)
end
it "calls the next action in the chain" do